cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1090832 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/jsonp/JsonpInInterceptor.java
Date Sun, 10 Apr 2011 17:04:24 GMT
Author: sergeyb
Date: Sun Apr 10 17:04:24 2011
New Revision: 1090832

URL: http://svn.apache.org/viewvc?rev=1090832&view=rev
Log:
[CXF-3005] Minor update

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/jsonp/JsonpInInterceptor.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/jsonp/JsonpInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/jsonp/JsonpInInterceptor.java?rev=1090832&r1=1090831&r2=1090832&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/jsonp/JsonpInInterceptor.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/jsonp/JsonpInInterceptor.java
Sun Apr 10 17:04:24 2011
@@ -52,7 +52,7 @@ public class JsonpInInterceptor extends 
             if (getAcceptType() != null) {
                 // may be needed to enforce the selection of 
                 // JSON-awarenprovider
-                message.put(Message.CONTENT_TYPE, getAcceptType());
+                message.put(Message.ACCEPT_CONTENT_TYPE, getAcceptType());
             }
             message.getExchange().put(CALLBACK_KEY, callbackValue);
         }



Mime
View raw message