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. If you need to simulate the feature of an
third-party server mod/plugin you should manually make a
`header('Access-Control-Allow-Origin: ...')` as needed in your
development code.

>From an HTTP standpoint, baking this directly into the CLI server
doesn't make much sense IMO.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to