curl-library
Re: POST and headers
Date: Tue, 3 Apr 2001 10:38:09 +0200 (MET DST)
On Fri, 30 Mar 2001, Garrett Rooney wrote:
> by the way, i spent some time going over the curl code yesterday, and i'm
> quite impressed. it's very clean, full featured, and easy to jump into.
Thank you. I hope I'll be able to continue having it that way!
> just for the record, it turns out that the problem was not in the curl
> library itself, but in the php bindings for it. the constant
> CURLOPT_HTTPHEADER was being initialised to the wrong value, (for some
> reason it was being set to CURLOPT_HEADER) and thus the code to modify
> the headers was never actually getting called at all.
That's quite bad indeed.
> of course, now that it is getting called, it seems to be a bit buggy, and
> i'm going to look a little closer at it before submitting a patch. it
> currently only works if you pass in an array, and it seems that it would
> make more sense if you could pass in a string. at the very least it
> shoudln't crash, like it does now.
>
> by the way, should patches for the php bindings for curl go to the curl
> people or the php people?
The php bindings are part of the PHP package and that module is written by
Sterling Hughes. Skip over to http://www.php.net/bugs.php and file a bug
report and make it 'cURL related'.
I noticed you've already done this.
(This mail is CC'ed to Sterling)
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/ _______________________________________________ Curl-library mailing list Curl-library_at_lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/curl-libraryReceived on 2001-04-03