You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Arne Roomann-Kurrik (JIRA)" <ji...@apache.org> on 2009/04/29 18:25:30 UTC

[jira] Commented: (SHINDIG-1035) makeRequest with httpMethod=POST should automatically set Content-Type

    [ https://issues.apache.org/jira/browse/SHINDIG-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704186#action_12704186 ] 

Arne Roomann-Kurrik commented on SHINDIG-1035:
----------------------------------------------

This would still allow the content type to be set explicitly, correct?  I post JSON in some of my gadgets.

> makeRequest with httpMethod=POST should automatically set Content-Type
> ----------------------------------------------------------------------
>
>                 Key: SHINDIG-1035
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1035
>             Project: Shindig
>          Issue Type: Bug
>    Affects Versions: trunk, 1.0.0-rc1
>            Reporter: Paul Lindner
>            Assignee: Paul Lindner
>
> makeRequest when using httpMethod=POST and empty headers results in a request without a content type.
> We should add a Content-Type header set to application/x-www-form-urlencoded in this situation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.