Blaise Gosselin created CXF-7073:
------------------------------------
Summary: Unable to set Content-Type of WebClient using POST method
Key: CXF-7073
URL: https://issues.apache.org/jira/browse/CXF-7073
Project: CXF
Issue Type: Bug
Components: JAX-RS, Transports
Affects Versions: 3.0.4
Reporter: Blaise Gosselin
Priority: Blocker
We are using the WebClient of CXF to connect to a web resource:
- Client created using "WebClient.create()";
- Content-Type set using
"client.type(MediaType.APPLICATION_FORM_URLENCODED_TYPE);";
- Send the request "Response info = client.invoke("POST", null);"
The Content-Type of the request sent is always with the header "Content-Type:
*/*".
Thank you in advance for your help.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)