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

Sergey Beryozkin commented on CXF-6214:
---------------------------------------

Thanks for a quick update... There was a similar side-effect earlier, empty 
POSTs without Content-Type resulted in HTTPUrlConnection setting a form media 
type. So, with HTTPUrlConnection it has to be a wildcard Content-Type even if 
the body is absent...

> [WebClient] wrong Accept received via proxy
> -------------------------------------------
>
>                 Key: CXF-6214
>                 URL: https://issues.apache.org/jira/browse/CXF-6214
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.0.3
>            Reporter: Alexey Markevich
>             Fix For: 3.0.4
>
>
> Call via proxy configured using  -Dhttp.proxyHost/-Dhttp.proxyPort:
> INFO: Outbound Message
> ---------------------------
> ID: 1
> Address: https://[]
> Http-Method: GET
> Content-Type: 
> Headers: {Authorization=[Basic ...], Accept=[application/xml]}
> --------------------------------------
> Server reports that text/xml type received.
> In case any Content-Type specified - all works fine



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

Reply via email to