forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enforce an RFC valid Accept value for remote dev requests
The default Accept header defined in sun.net.www.protocol.http.HttpURLConnection is invalid and does not respect the RFC so we override it with a valid value. RESTEasy is quite strict regarding the RFC and throws an error. Note that this is just the default HttpURLConnection header value made valid. See https://bugs.openjdk.java.net/browse/JDK-8163921 and https://bugs.openjdk.java.net/browse/JDK-8177439 Fixes quarkusio#20904
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 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