Support Authorization header in apache_request_headers()
commit60ed68cc1697a897a90a1712e8aa040235efc8a5
authorPaul Bissonnette <paulbiss@fb.com>
Thu, 20 Nov 2014 20:49:12 +0000 (20 12:49 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Thu, 20 Nov 2014 21:00:40 +0000 (20 13:00 -0800)
tree0f38a2d616332874d15317fc321f53737c8ca582
parentd2b9df6e3e4d37e4ad14c1a0f835a751da178f1f
Support Authorization header in apache_request_headers()

Summary: Authorization is processed separately and not-mangled so special-cased like
CONTENT_LENGTH and CONTENT_TYPE which don't get prefixed with HTTP_

{sync, type="child", parent="internal", parentrevid="1689097", parentrevfbid="749762991738970", parentdiffid="5715023"}

Reviewed By: @JoelMarcey

Differential Revision: D1689097

Signature: t1:1689097:1416515552:4f8a11613ac6beb10cb911f2fcec0e6f2d88b1fb
hphp/runtime/server/fastcgi/fastcgi-transport.cpp
hphp/test/server/fastcgi/server_root/test_headers.php [new file with mode: 0644]
hphp/test/server/fastcgi/tests/headerTest.php [new file with mode: 0644]
hphp/test/server/fastcgi/tests/headerTest.php.expect [new file with mode: 0644]
hphp/test/server/fastcgi/tests/test_base.inc