[Wsf-jira] [jira] Resolved: (WSFPHP-431) The main header of an MTOM Response has charset= twice in the Content-Type Header
Nandika Jayawardana (JIRA)
jira at wso2.org
Sun Mar 7 00:51:19 PST 2010
[ https://wso2.org/jira/browse/WSFPHP-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nandika Jayawardana resolved WSFPHP-431.
----------------------------------------
Fix Version/s: Current (nightly)
Resolution: Fixed
Fixed the issue in the svn trunk. Thanks for pointing out the issue.
> The main header of an MTOM Response has charset= twice in the Content-Type Header
> ----------------------------------------------------------------------------------
>
> Key: WSFPHP-431
> URL: https://wso2.org/jira/browse/WSFPHP-431
> Project: WSO2 WSF/PHP
> Issue Type: Bug
> Components: WSService
> Environment: SuSE 11 ENterprise and OpenSuSE 11.1
> PHP on apache
> Reporter: Don Mimlitch
> Assignee: Nandika Jayawardana
> Fix For: Current (nightly)
>
>
> The HTTP Response Headers to a MTOM Soap Request has the charset= twice in the Content-Type HTTP Header. In some cases the two charset= elements have different character sets.
> It appears that the problem is in wsf_out_transport_info.c and the line
> if (NULL != info_impl->encoding)
> should be changed tp:
> if (NULL != info_impl->encoding && axutil_strstr(content_type, "charset=") == NULL)
> The first "charset=UTF-8" is inserted by wsf.c in the line
> req_info.content_type = strdup("application/soap+xml;charset=UTF-8");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsf-jira
mailing list