-
Bug
-
Resolution: Done
-
Major
-
3.6.2.Final
-
None
-
None
My services have an endpoint which receives an input stream to retrieve the request's data. When I'm using the client api, through a service proxy, with an empty byte array input stream, I get the "org.apache.http.ProtocolException: Content-Length header already present" exception.
For some reason, the Content-Length seems to already exist in that specific case. If I back the input stream with an array of length 1 (or any other length), the problem disappear.
This issue is valid for proxy and for MP Rest Client (cc rhn-support-asoldano)
- is cloned by
-
RESTEASY-2240 Client Proxy/MP-Rest-Client fails when sending an empty ByteArrayInputStream
- Resolved