I am using Apache cxf 3.2 for Restful services and jetty as a container.

The library, or possibly some other part of the stack such as cxf or Jetty,
is adding this parameter.

Example :
Http Get Request :
Address:
http://vm184host10.ottps.avaya.com/rest/aem/bsid/4d276624-26dc-44e4-b4d2-a11f69c84af3/notificationChannel/sse
Http-Method: GET
Content-Type:
Headers: {Accept=[text/event-stream], accept-encoding=[gzip, deflate],
Cache-Control=[no-cache], connection=[close], Content-Type=[null],
Cookie=[aa-token=faf43b16-1f67-3884-9884-3b69c0d90820;
JSESSIONID=0000K1n-KoAots2SicE_49uWKvk:-1],
Host=[vm184host10.ottps.avaya.com], Scheme=[https], X-Av-Server-Port=[443],
X-Forwarded-For=[10.136.1.188]}

HTTP Response :

HTTP/1.1 200
Connection: Keep-Alive
Set-Cookie:
JSESSIONID=psng-epu-web-8_0_1_0_26009-222_1fozld7vfpm2p1o99evbfqia5v.psng-epu-web-8_0_1_0_26009-222_1;Path=/rest;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/event-stream; charset=ISO-8859-1
X-Accel-Buffering: no
Cache-Control: no-cache

So  it adds the default charset as ISO-8859-1. I would prefer parameter
charset not be present in the response header Content-Type. How can I remove
or suppress it ?






--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html

Reply via email to