Re: libcurl(?) bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2/9/21 1:30 PM, Christoph M. Becker wrote:

   // NOK:
   curl_setopt($ch, CURLOPT_HTTPHEADER, array("Accept: /\r\n"));
I don't think that CURLOPT_HTTPHEADERs are supposed to have a trailing CRLF.


However, I agree with you on that, since it breaks a previously correctly working code, it still looks like a bug.

Unless the backward compatibility intentionally should not be kept for any reason.


Am I wrong?

t



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux