Alvaro Lopez Ortega schreef:
> On 1 Jun 2008, at 14:45, Stefan de Konink wrote:
>> Alvaro Lopez Ortega schreef:
>>> On 1 Jun 2008, at 13:45, Stefan de Konink wrote:
>>>> How can I process a http_put/post request (the payload) in a
>>>> handler. Or
>>>> better: where can I access it?
>>> &HANDLER_CONN(handler)->post is the object containing the post
>>> information. Its interface is defined in cherokee/post.h.
>>
>> So a put request will have its data there too?
>
>
> Even if the server core is ready for the less common HTTP methods, none
> of the handlers that we are currently shipping support methods besides
> GET, POST and HEAD. Actually, I could not assure whether it will work.
>
> Give it a try. If for any reason it does not work, let me know and I
> will check it out.
I guess you forgot a type in http_method_with_input ;)
(m == http_put) || \
Add this to http.h :) I see now the post has a length.
Stefan
_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee