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


   >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)
   
   Could you add some logs in the driver that would print a warning when 
invoking methods that are not expected to have a body with a body, and when 
invoking methods that require a body without it? This way users could easily 
spot potentially problematic APIs and we could have a quick overview of the 
providers that use OkHttp by default and use those unexpected APIs.


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to