Re: Re: Access-Control-Allow-Origin header in CLI server
| From: | Mario Brandt | Date: | Sat, 06 Jul 2013 12:59:00 +0000 |
| Subject: | Re: Re: Access-Control-Allow-Origin header in CLI server | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68072@lists.php.net to get a copy of this message | ||
You can use the router script to add that header of your desire into
every request.
Cheers
Mario
On 6 July 2013 01:34, Matthew Leverton <leverton@gmail.com> wrote:
> On Fri, Jul 5, 2013 at 5:48 PM, Daniel Lowrey <rdlowrey@gmail.com> wrote:
>> This is not the sort of thing that belongs in an HTTP server by
>> default. It's a one-off header that some users may elect to send but
>> the vast majority will not.
>>
> Of course I agree if you were speaking about a production web server.
>
> --
> Matthew Leverton
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>