some questions about the upload module
Manlio Perillo
manlio_perillo at libero.it
Tue Sep 9 20:15:34 MSD 2008
Valery Kholodkov ha scritto:
> "Manlio Perillo" <manlio_perillo at libero.it> wrote:
>
>> For the example in the source, how is the request body passed to the
>> PHP application encoded?
>
> I simply replace r->request_body->bufs with the chain of buffers,
> containing new body. The ngx_http_read_client_request_body function
> somehow manages to read no data more and fastcgi and proxy modules are
> clever enough to serialize those buffers properly.
>
The data is the same multipart/form-data encoded data, with extra
parameters (like the temporary file path) added in the content-disposition?
Thanks Manlio Perillo
More information about the nginx
mailing list