How to set the http_response_header from a custom HTTP wrapper

From: Date: Wed, 26 Nov 2014 14:00:00 +0000
Subject: How to set the http_response_header from a custom HTTP wrapper
Groups: php.general 
Request: Send a blank email to php-general+get-324061@lists.php.net to get a copy of this message
I wrote a custom HTTP wrapper, but I've hit a snag. I do not know how to populate the $http_response_header variable. So my questions are: 1. Is it even possible to set $http_response_header from a custom PHP Stream wrapper? 2. Is there documentation on how to set it? 3. If there is no official way to set it, then is there a work-a-round way to set $http_response_header? PHP doc on $http_response_header variable: http://php.net/manual/en/reserved.variables.httpresponseheader.php -- Khalifah (Ca - lee - fah) Shabazz

« previous php.general (#324061) next »