petewarden / ParallelCurl

A PHP class providing an easy interface for running multiple concurrent CURL requests
http://petewarden.typepad.com/
378 stars 101 forks source link

Small bug with POST data #2

Open kamicollo opened 13 years ago

kamicollo commented 13 years ago

Hi,

I believe the current version has a small bug in lines 83 and 84. The curl handle there should be not $request, but $ch.

Cheers,

Aurimas

petewarden commented 13 years ago

Thanks Aurimas, good catch! I've put in that fix, hopefully it works for you now?

I did look at adding that to the test case as well, but I don't know any unauthenticated public web sites that respond to POST requests.

kamicollo commented 13 years ago

Yup, it works now. I just think the documentation could benefit from adding a few lines about the POST feature - now it's not mentioned there.

Aurimas

petewarden commented 13 years ago

Good point. I've added a short note to the documentation about POST calls.