-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure we use application/octet-stream for file upload.
Nexus, at the minimum, will fail to process the uploaded file if we omit this header (I assume it considers the incoming body as text vs a stream of bytes). Nexus also doesn't return a body on succesful create. This caused the upload_result to be empty, which made the artifact value empty, which caused a failure. Always create a valid return value that describes the HTTP status code, the reason, and any body.
- Loading branch information
1 parent
32cd907
commit d6a75ad
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters