WebUtil.isBinary fails when charSet appended
--------------------------------------------
Key: JBREM-1301
URL:
https://issues.jboss.org/browse/JBREM-1301
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jmx remoting, marshall
Affects Versions: 2.5.4.SP2
Reporter: Tom Cunningham
WebUtil.isBinary fails when the contentType equals
application/octet-stream?charSet=UTF-8
It only accepts "application/octet-stream" as valid. On 1.6.0_21, I'm
receiving "application/octet-stream?charSet=UTF-8" as my ContentType from
HttpUrlConnection.getHeaderFields() within HttpClientInvoker, which overwrites any
ContentType I try to send in a map. Because of this, my responses are
InvocationResponses, but they are treated as a string and not unmarshalled.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira