upload via HTTP send PUT request with incorrect Content-Type header
-------------------------------------------------------------------

                 Key: BUILDR-573
                 URL: https://issues.apache.org/jira/browse/BUILDR-573
             Project: Buildr
          Issue Type: Bug
          Components: Core features
    Affects Versions: 1.4.5
            Reporter: Mathias


When uploading via HTTP buildr sends PUT requests with "Content-Type: 
application/x-www-form-urlencoded", which is incorrect and can lead to issues 
with some repository managers (e.g. Nexus 1.9).

The fix would be to either send no Content-Type header at all (in which case 
the server is allowed to guess the Content-Type) or send 
"application/octet-stream".


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to