On 01.07.2011, at 01:29, Stas Malyshev wrote:

> Hi!
> 
> On 6/30/11 2:34 PM, Michael Maclean wrote:
>> The same data also ends up in the bizarre $http_response_headers var
>> that gets spontaneously created in local scope - I've wondered about how
>> good that is to do.
> 
> This thing is indeed bizzare. I wonder if anybody uses it and why it was done 
> this way...

I've used it before... IIRC, it was because that var gets set on older PHP 
versions even if the HTTP response is an error (in which case the stream is 
destroyed and you can't get the metadata anymore either; newer versions have 
the "ignore_errors" context option for that).

David


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to