[
https://issues.apache.org/jira/browse/SHINDIG-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Weitzel updated SHINDIG-1181:
----------------------------------
Attachment: shindig-1181.patch
Paul, Not sure if you've had an oportunity to look at this yet, but here's a
patch that might help get started.
> 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
> Attachments: shindig-1181.patch
>
>
> 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.