jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [jclouds] korlov42 commented on pull request #84: JCLOUDS-1551: Update version of OkHttp 3.14.9
Date Fri, 09 Oct 2020 16:49:21 GMT

korlov42 commented on pull request #84:
URL: https://github.com/apache/jclouds/pull/84#issuecomment-706289116

   @nacx, for now, only GET and HEAD requests will be rejected if they have a body. But there
is another validation that forced me to slightly modified the production code: rejecting requests
without a body when the body is required (POST, PUT, PATCH and a few more). So, I've decided
to rely on the internal method of okhttp (HttpMethod#requiresRequestBody) and generate an
empty request body. You could see it [here](https://github.com/apache/jclouds/pull/84/files#diff-0669ed207d502fa8adc5114f1c4e8167R100).

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message