where is the response of subrequest

Valery Kholodkov valery+nginxen at grid.net.ru
Mon Dec 1 15:37:23 MSK 2008


Set the NGX_HTTP_SUBREQUEST_IN_MEMORY flag and examine the content of r->upstream and r->upstream->buffer in post-subrequest handler.

-- 
Regards,
Valery Kholodkov

----- Original Message -----
From: "Yan Cheng" <lists at ruby-forum.com>
To: nginx at sysoev.ru
Sent: Monday, December 1, 2008 12:21:44 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: where is the response of subrequest

Hi all

When I do subrequest. Where does the response mount?
Can I get the response message, headers and body, from
ngx_http_reqeust_t struct?
If can, then how?

Thanks
-- 
Posted via http://www.ruby-forum.com/.






More information about the nginx mailing list