-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: Regression contentType set by user was never set properly. (#511)
The reason is because contentType is overriden by this operation even if the contentType is set through header. ``` public MediaType contentType() { if (contentType != null && !contentType.isEmpty()) { return MediaType.parse(contentType); } else { return MediaType.parse("application/octet-stream"); } } ```
- Loading branch information
1 parent
e409e73
commit 711b2aa
Showing
2 changed files
with
93 additions
and
26 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