[ 
https://issues.apache.org/jira/browse/CXF-6055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14176761#comment-14176761
 ] 

Sergey Beryozkin commented on CXF-6055:
---------------------------------------

Hi Benson

Good to hear from you; 
The code does not analyze the HTTP verb names because it can be a case of empty 
POSTs, etc, but it has been fixed in CXF 3.0.2/trunk (if the request body is 
null then not set CT), not sure why I did not push the fix to CXF 2.7.x, I'll 
take care of it,  

Cheers, Sergey

> WebClient adds Content-Type to GET requests
> -------------------------------------------
>
>                 Key: CXF-6055
>                 URL: https://issues.apache.org/jira/browse/CXF-6055
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.11
>            Reporter: Benson Margulies
>
> If I make no call to 'media', and issue a GET, I am bemused to discover
> {noformat}
> Content-Type: */*
> {noformat}
> in the header. This seems wrong; all those *'s seem like they go with an 
> accept, not a content-type, and I was trying to end up with no Content-Type 
> at all.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to