Hannes Magnusson wrote:
> Hi all
>
> Isn't http://news.php.net/php.cvs/36579 fix for #34059 ? (not
> mentioned in the NEWS file - and the report is still open).
The patch addresses the feature request you've mentioned, I've closed
that particular bug.
> Ilias previous get_headers() patch (http://news.php.net/php.cvs/36564)
> allows get_headers() to use "default context" set by
> stream_context_get_default() (which btw is quite weird name to *set*
> default context).. ..but it doesn't take context argument so I would
> need to run stream_context_get_default() before calling get_headers()
> and then change it back by running stream_context_get_default()
> again...
That's correct. There are no plans to add support for feature #34058,
this cannot be done efficiently since requesting one field would require
PHP to remake the request each time. Or have to buffer the response
headers in memory and so on.
Ilia