-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to properly PATCH methods with JDK11+ #827
Comments
Sounds! Good, maybe it is a time for us to move to Java11 instead. |
I even tried to upgrade to HttpRequest myself, however the project does not build with current version of gradle/java and I couldn't even manage to run it :/ eg.:
or
|
For anyone who stumbles here – it can be hacked even without modifying current version of Fuel. Two things need to be done:
|
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request
This is a followup issue for #274
Description
Currently PATCH methods are silently transformed to POST methods.
However, in java 11+ (https://stackoverflow.com/a/64048579/922584) you can use the HttpRequest class to do what you want:
Proposed Solution
It would be great if it was possible to leverage possibilities of JDK11+ and do correct
PATCH
requests as some services ignore thex-http-method-override
headerThe text was updated successfully, but these errors were encountered: