Re: [PATCH] Add apache_request_headers() and apache_response_headers() to the CLI server
| From: | Leigh | Date: | Tue, 22 Oct 2013 20:51:03 +0000 |
| Subject: | Re: [PATCH] Add apache_request_headers() and apache_response_headers() to the CLI server | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-69783@lists.php.net to get a copy of this message | ||
On 17 October 2013 19:59, Andrea Faulds <ajf@ajf.me> wrote:
> Hello all,
>
> I implemented FR #65917 (getallheaders() is not supported by the built-in
> web server). FR #65917 is actually my own feature request; I created it
> because I had tried to use it with the CLI server to test an application of
> mine, and it wasn't available. So I went and implemented it, and since
> apache_response_headers() complements it and was trivial to implement as
> well, I have also implemented that, by copying the FastCGI code.
Sorry for a late response. I wanted to add my personal feeling is that
I do not like apache_* functions (or function aliases) existing
outside of the Apache SAPI.
getallheaders() yes
apache_* no
I decided to click the pull request link before hitting send. Looks
like this has already been brought up. Going to hit send anyway :)