[Konstrukt] PUT requests

3 views
Skip to first unread message

Thomas Allen

unread,
May 10, 2010, 12:42:50 AM5/10/10
to Konstrukt
Just curious, why is the request body only parsed for PUT requests
with a content type of "application/x-form-www-urlencoded"? I had to
remove that check to handle PUT requests properly (adapter.inc.php:
61).

Thomas

--
You received this message because you are subscribed to the Google Groups "Konstrukt" group.
To post to this group, send email to kons...@googlegroups.com.
To unsubscribe from this group, send email to konstrukt+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/konstrukt?hl=en.

troels knak-nielsen

unread,
May 11, 2010, 4:37:35 PM5/11/10
to kons...@googlegroups.com
What content-type are you submitting with the data, if not
application/x-form-www-urlencoded?

--
troels

Thomas Allen

unread,
May 28, 2010, 4:43:43 PM5/28/10
to Konstrukt
I'm not sure what header it is sending, but I am using a simple HTTP
library called restkit, http://github.com/benoitc/restkit/

Thomas

On May 11, 4:37 pm, troels knak-nielsen <troel...@gmail.com> wrote:
> What content-type are you submitting with the data, if not
> application/x-form-www-urlencoded?
>
> --
> troels
>
> On Mon, May 10, 2010 at 6:42 AM, Thomas Allen <thomasmal...@gmail.com> wrote:
> > Just curious, why is the request body only parsed for PUT requests
> > with a content type of "application/x-form-www-urlencoded"? I had to
> > remove that check to handle PUT requests properly (adapter.inc.php:
> > 61).
>
> > Thomas
>
> > --
> > You received this message because you are subscribed to the Google Groups "Konstrukt" group.
> > To post to this group, send email to kons...@googlegroups.com.
> > To unsubscribe from this group, send email to konstrukt+...@googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/konstrukt?hl=en.
Reply all
Reply to author
Forward
0 new messages