You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Gary Gregory <ga...@gmail.com> on 2018/07/18 14:12:49 UTC

Version 5 HttpRequest getRequestLine()

Hi All:

Version 5 HttpRequest no longer implements getRequestLine()

This was quite handy in version 4 for logging and debugging. Can we add it
back?

Gary

Re: Version 5 HttpRequest getRequestLine()

Posted by Julian Reschke <ju...@gmx.de>.
On 2018-07-18 16:15, Oleg Kalnichevski wrote:
> On Wed, 2018-07-18 at 08:12 -0600, Gary Gregory wrote:
>> Hi All:
>>
>> Version 5 HttpRequest no longer implements getRequestLine()
>>
>> This was quite handy in version 4 for logging and debugging. Can we
>> add it
>> back?
>>
>> Gary
> 
> There is no longer such thing as a request line in HTTP/2. Please feel
> free to use RequestLine convenience class but please do not add it to
> protocol agnostic message classes.
> 
> Oleg

FWIW: <https://github.com/httpwg/http-core/issues/60>

Best regards, Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: Version 5 HttpRequest getRequestLine()

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Wed, 2018-07-18 at 08:12 -0600, Gary Gregory wrote:
> Hi All:
> 
> Version 5 HttpRequest no longer implements getRequestLine()
> 
> This was quite handy in version 4 for logging and debugging. Can we
> add it
> back?
> 
> Gary

There is no longer such thing as a request line in HTTP/2. Please feel
free to use RequestLine convenience class but please do not add it to
protocol agnostic message classes.

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org