Author: ron.sigal(a)jboss.com
Date: 2011-11-22 12:56:47 -0500 (Tue, 22 Nov 2011)
New Revision: 6413
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/marshal/ContentTypePrefixTestCase.java
Log:
JBREM-1301: Added some upper case characters to content-type.
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/marshal/ContentTypePrefixTestCase.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/marshal/ContentTypePrefixTestCase.java 2011-11-22
17:55:58 UTC (rev 6412)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/transport/http/marshal/ContentTypePrefixTestCase.java 2011-11-22
17:56:47 UTC (rev 6413)
@@ -155,7 +155,8 @@
public void addListener(InvokerCallbackHandler callbackHandler) {}
public Object invoke(final InvocationRequest invocation) throws Throwable
{
- invocation.getReturnPayload().put("Content-Type",
"application/octet-stream?charSet=UTF-8");
+ // Adding some upper case characters for test.
+ invocation.getReturnPayload().put("Content-Type",
"Application/Octet-stream?charSet=UTF-8");
return invocation.getParameter();
}
public void removeListener(InvokerCallbackHandler callbackHandler) {}
Show replies by date