POST Hidden Input Fields -> nginx.0.9.2

Ranier ranier at cultura.com.br
Wed Jan 19 22:44:29 MSK 2011


Em 19/1/2011 12:18, Maxim Dounin escreveu:
> Hello!
>
> On Wed, Jan 19, 2011 at 12:55:24PM -0300, Ranier wrote:
>
>> Hi,
>> There are any special reason for r->header_in->pos not contain POST
>> Hidden Input fields?
>>
>> Test with nginx-0.9.2
>> <form method="POST" action="frm_handler">
>> <input type="hidden" value="AA2d" name="entry_id">
>> <input type="text" value="" name="full_name">
>> <input type="button" value="Send">
>> </form>
>>
>> The field "entry_uid" not appears in r->header_in->pos, why not?
> Uhm, r->header_in is an internal buffer used during header
> reading/parsing.  It may occasinally happen to contain parts of
> request body if it happened to be read with headers, but it's not
> something one may use to access body data.
>
> If you need to access body data - you should use
> ngx_http_read_client_request_body() function and r->request_body
> in it's callback.
>
> Maxim Dounin
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://nginx.org/mailman/listinfo/nginx-devel
>
Hi Maxim,
Again many thanks for you awsers.

Ranier Vilela



More information about the nginx-devel mailing list