Hi,

Sorry about the previous email. I meant
ngx_http_top_request_body_filter is not executed whenever there is no
body.

Thank you,
Muhammad Nuzaihan

On Wed, Dec 13, 2023 at 3:55 PM Muhammad Nuzaihan <zai...@unrealasia.net> wrote:
>
> Hi,
>
> I need to process requests with only URI path (without body) for a module.
>
> It seems ngx_http_request_body_filter_pt is *not* executed whenever
> there is a request without a body (it looked like it bypassed without
> request body) and only ngx_http_output_body_filter_pt  part of the
> code is executed.
>
> For example i do a request curl curl like this:
>
> curl -vvvv -X POST http://localhost:8080/proxy/profile/alice/comment
>
> and i need to validate /proxy/profile/alice/comment in my module and
> there is no http headers and no body. Only URI path.
>
> Is there something similar done before?
>
> Thank you,
> Muhammad Nuzaihan
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to