Is there a way to get the raw request from the client in a handler?

Ottavio Campana ottavio at campana.vi.it
Wed Jan 9 14:16:16 UTC 2019


Dear Maxim,

in the nginx documentation
http://nginx.org/en/docs/http/ngx_http_core_module.html#var_request I find

$request full original request line

How is this variable populated? I was expecting that this variable is taken
from an internal buffer. Or is it reconstructed?

Thank you,

Ottavio


Il giorno mer 9 gen 2019 alle ore 14:23 Maxim Dounin <mdounin at mdounin.ru>
ha scritto:

> Hello!
>
> On Wed, Jan 09, 2019 at 10:52:11AM +0100, Ottavio Campana wrote:
>
> > I am proceeding developing my module.
> >
> > Is there a way to get the raw HTTP request from a ngx_http_request_t ?
>
> No.  E.g., there is no such thing as "raw HTTP request" when using
> HTTP/2.
>
> --
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>


-- 
Non c'è più forza nella normalità, c'è solo monotonia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20190109/943090a5/attachment.html>


More information about the nginx mailing list