Details
Description
Currently the content-type header is not being set and for some reason for append it is being set to the form encoded content type making jersey parameter parsing fail.
For this and to avoid any kind of proxy transcoding the content-type should be set to binary.
conn.setRequestProperty("Content-Type", "application/octet-stream");