You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "S.Uthaiyashankar (JIRA)" <ji...@apache.org> on 2008/10/21 11:49:44 UTC

[jira] Commented: (AXIS2C-1278) REST does not work properly when 'Accept-Charset' http header available in the request

    [ https://issues.apache.org/jira/browse/AXIS2C-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641323#action_12641323 ] 

S.Uthaiyashankar commented on AXIS2C-1278:
------------------------------------------

Found out, request actually hits the service. When the reply is prepared, char set of the reply is checked against Accept-Charset. There was a bug in the logic, which is checking "charset=UTF-8" against Accept-Charset (which has only utf-8) by using axutil_strcasestr. Removing 'charset=' from the search string solved the problem.

> REST does not work properly when 'Accept-Charset' http header available in the request
> --------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-1278
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1278
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: 1.4.0, Current (Nightly)
>         Environment: N/A
>            Reporter: S.Uthaiyashankar
>            Assignee: S.Uthaiyashankar
>             Fix For: 1.5.0
>
>
> When GET requests are issued from Firefox, it inserts 'Accept-Charset' header. When this header is available, reply is not sent to the browser. When removing the header, it works correctly.

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


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