Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68072 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57823 invoked from network); 6 Jul 2013 12:59:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2013 12:59:05 -0000 Authentication-Results: pb1.pair.com header.from=jblond@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jblond@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.47 as permitted sender) X-PHP-List-Original-Sender: jblond@gmail.com X-Host-Fingerprint: 209.85.214.47 mail-bk0-f47.google.com Received: from [209.85.214.47] ([209.85.214.47:60850] helo=mail-bk0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/B3-41520-79418D15 for ; Sat, 06 Jul 2013 08:59:04 -0400 Received: by mail-bk0-f47.google.com with SMTP id jg1so1315195bkc.20 for ; Sat, 06 Jul 2013 05:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tAPaUejr8DniZK/zupG8jSd/sfK1VAF9US3mwa2NwJQ=; b=t4HD6zzCoAX1Tjye+AFFjtBuCOxPG4nJhDlpv6n2Gx6LWwwCYOVzpjGkkGnZJPdPxe 9GDYWCN0Qafk1eRjCoVD70e0Gdb2cjjAB7Ul6qpDFDI5ZD/c7s3DL4qLXYeiUpU42CNg Z1ia9NTD03qpYCDWjLriNGHuntesKhNUlvboE5SmJz4WjkcdqKdtTr6BLvgxDgR4oYpx 6H+YbvSnnW2s/fT5JFVZ60z++mKdzqlxI/8LHxBa0F9sjBVZaC3nQoLmHSoylD2wbkkr csnhrdzlw68Iy/bXa08xC64I4KeIHX3WHQQ/qOIRD5VItmeIUd2RVE2c1qTdMg1/SW8N rbXQ== MIME-Version: 1.0 X-Received: by 10.205.130.67 with SMTP id hl3mr2261482bkc.61.1373115540473; Sat, 06 Jul 2013 05:59:00 -0700 (PDT) Received: by 10.204.15.152 with HTTP; Sat, 6 Jul 2013 05:59:00 -0700 (PDT) In-Reply-To: References: Date: Sat, 6 Jul 2013 14:59:00 +0200 Message-ID: To: Matthew Leverton Cc: Daniel Lowrey , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Re: Access-Control-Allow-Origin header in CLI server From: jblond@gmail.com (Mario Brandt) 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 wrote: > On Fri, Jul 5, 2013 at 5:48 PM, Daniel Lowrey 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 >