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

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

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.


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

Posted by "Arne Roomann-Kurrik (JIRA)" <ji...@apache.org>.
    [ 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.


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

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner updated SHINDIG-1035:
----------------------------------

    Component/s: Java

> 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
>          Components: Java
>    Affects Versions: trunk, 1.0.0-rc1
>            Reporter: Paul Lindner
>            Assignee: Paul Lindner
>             Fix For: trunk
>
>
> 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.


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

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SHINDIG-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Lindner resolved SHINDIG-1035.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: trunk

fixed in trunk


> 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
>          Components: Java
>    Affects Versions: trunk, 1.0.0-rc1
>            Reporter: Paul Lindner
>            Assignee: Paul Lindner
>             Fix For: trunk
>
>
> 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.


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

Posted by "Paul Lindner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SHINDIG-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12704204#action_12704204 ] 

Paul Lindner commented on SHINDIG-1035:
---------------------------------------

correct, the default would only apply if a content-type header was not provided.


> 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.