[Libevent-users] Access to POST data in evhttp

Matti Savolainen matti.savolainen at dynamoid.com
Mon Jun 23 02:53:07 EDT 2008


Hello,

The POST data is avaible in the body, thus you can find it in 
request->input_buffer. There  is no builtin mechanism to parse 
multipart/formdata so you will need to handle that by your self.

--
Matti Savolainen

Unixservice Support kirjoitti:
> Hello,
>
> I have just started using libevent and find it very useful.
>
> Quick question. After reading through headers and docs, it seems that 
> I only have access to get URI data from forms method=get.
>
> I need to post large amounts of a form data and would prefer to use POST.
>
> Any ideas? getenv()?
>
> Cheers!
> Gary Wallis
> _______________________________________________
> Libevent-users mailing list
> Libevent-users at monkey.org
> http://monkeymail.org/mailman/listinfo/libevent-users



More information about the Libevent-users mailing list