cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blaise Gosselin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-7073) Unable to set Content-Type of WebClient using POST method
Date Fri, 30 Sep 2016 10:15:20 GMT
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)

Mime
View raw message