shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Lindner (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SHINDIG-1181) Cannot use accept headers with makeRequest
Date Fri, 25 Sep 2009 14:21:15 GMT

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

Paul Lindner commented on SHINDIG-1181:
---------------------------------------

my only concern would be that the response caching might choose return the same response for
differing accept headers.  I'll look into this shortly..


> Cannot use accept headers with makeRequest
> ------------------------------------------
>
>                 Key: SHINDIG-1181
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1181
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 1.1-BETA3
>            Reporter: Adam Archer
>
> MakeRequestHandler blocks several headers that can be sent in a makeRequest call from
the client (using gadgets.io.RequestParameters.HEADERS). One of the blocked headers is "accept"
which is preventing us from consuming our REST services as JSON since they return xml by default
unless the appropriate header is used.
> I have tried removing "ACCEPT" from MakeRequestHandler.BAD_HEADERS locally. This fixes
the problem and I haven't noticed any adverse side effects.
> See the mailing list thread: "MakeRequestHandler.BAD_HEADERS... is killing our REST Service
calls"

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


Mime
View raw message