shindig-issues mailing list archives

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


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

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

View raw message