[prev in list] [next in list] [prev in thread] [next in thread]
List: nginx
Subject: Re: How to make a post subrequest with response body from parent?.
From: "edo888" <nginx-forum () nginx ! us>
Date: 2012-02-27 19:29:20
Message-ID: 0534fc2ad9942094fe99c85473aa23fe.NginxMailingListEnglish () forum ! nginx ! org
[Download RAW message or body]
Hi,
Just in case someone will find this in google. I have found a solution.
You will need to populate sr->request_body->bufs and then make sure to
set sr->headers_in.content_length_n...
You can check the http echo module subrequest.c file and see how it sets
the content length.
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,222983,223071#msg-223071
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic