php-http / curl-client

cURL client
http://httplug.io
MIT License
447 stars 28 forks source link

Fix request body for GET and HEAD methods #61

Closed grongor closed 1 year ago

grongor commented 5 years ago

There is no limitation in cURL that would prevent these methods to have a body. And without the body for these requests you are unable to use APIs that require it, such as https://docs.confluent.io/current/kafka-rest/api.html#get--consumers-(string-group_name)-instances-(string-instance)-offsets .

Nyholm commented 4 years ago

I know that the intention is correct. The GET and HEAD requests can have bodies. Im not sure about the implementation because I dont know this client well enough.

Can @mekras have a look?