php-mod / curl

This library provides an object-oriented and dependency free wrapper of the PHP cURL extension.
MIT License
328 stars 120 forks source link

Add support for non urlencoded payloads #3

Closed MartijnBraam closed 9 years ago

MartijnBraam commented 10 years ago

This pr allows the use of curl->post('example.php', json_encode($my_payload)); and unifies this behavior for post, put and patch

amouhzi commented 10 years ago

Hello,

There is a bug in your pull request.

Tests don’t pass.

ErickTamayo commented 10 years ago

When this will be implemented?

amouhzi commented 10 years ago

Hello @ErickTamayo, You can do the necessary changes in you branch without needing to do a new pull request. Then I can see tests results, and I will implement it if I see only one fail in the tests. Thank you.

ErickTamayo commented 10 years ago

Sure, I'll do the changes by tomorrow or the saturday if @MartijnBraam doesn't do it first.

amouhzi commented 9 years ago

I reverted it. 5 failures with it.