You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by slowpoison <sl...@comcast.net> on 2010/04/15 21:59:35 UTC

Re: Bug 1278 back? REST does not work properly when 'Accept-Charset' http header available in the request

On Wed, Apr 14, 2010 at 3:11 PM, slowpoison <sl...@comcast.net> wrote:
> https://issues.apache.org/jira/browse/AXIS2C-1278?page=com.atlassian.jira.plugi

Additional detail:
The GET requests work fine and client receives data properly. My PUT
request, that doesn't receive any data back fails. Weird. I would have
thought the other way around.

Please advise if I should open a bug.

> I'm testing with Axis2c 1.6.0 and am seeing the same problem above. If
> I send a REST request using Chrome or Firefox, which set the charset
> header to:
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
>
> my service gets called, but Apache responds back:
> <html><head><title>406 Not Acceptable</title></head><body><h2>Not
> Acceptable</h2><p>An appropriate representation of the requested
> resource could not be found on this server.</p></body></html>
>
> If I try without this header, everything works fine. Has the bug crept back in?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org