hi, Maxim
It is seem like that ngx_http_subrequest() supports only GET method:
sr->method = NGX_HTTP_GET;
sr->http_version = r->http_version;
...............
sr->method_name = ngx_http_core_get_method;
In my application currently, NGINX received a POST request and issue mutiple subrequests(Parallel) to get combine content by set proxy_pass location, but ngx_http_subrequest() not supports POST method, so, What do I need to pay attention, if i just modify to :
sr->method = NGX_HTTP_POST
sr->http_version = r->http_version;
...............
sr->method_name = r->method_name;
???
thanks a lot!
best regards
honwel