Add get_headers_secure
commitd74048dfb99c4634cacb3a0d6dfb4edadc403768
authormwilliams <mwilliams@fb.com>
Thu, 22 Jan 2015 17:23:45 +0000 (22 09:23 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Sat, 24 Jan 2015 00:30:32 +0000 (23 16:30 -0800)
tree7508ba512d9208e5b22ef4d65055ebbc03f4f115
parentafe64a4c4dc8406be3cf85cc20d393ede0c46ab4
Add get_headers_secure

Summary: returns all the headers, like apache_request_headers(),
except that if a header was specified multiple times, the values
will be returned in an array (in order of occurrance)

Reviewed By: @jdelong, @edwinsmith

Differential Revision: D1797285
hphp/runtime/ext/apache/ext_apache.cpp
hphp/runtime/ext/apache/ext_apache.php
hphp/test/run
hphp/test/server/http/server_root/test_duplicate_headers.php [new file with mode: 0644]
hphp/test/server/http/tests/runTest1.php
hphp/test/server/http/tests/runTest1.php.expect [deleted file]
hphp/test/server/http/tests/runTest1.php.expectf [new file with mode: 0644]
hphp/test/server/util/server_tests.inc