Files
frankenphp/testdata/server-all-vars-ordered.txt
Alexander Stecher dd250e3bda perf: optimized request headers (#1335)
* Optimizes header registration.

* Adds malformed cookie tests.

* Sets key to NULL (releasing them is unnecessary)

* Adjusts test.

* Sanitizes null bytes anyways.

* Sorts headers.

* trigger

* clang-format

* More clang-format.

* Updates headers and tests.

* Adds header test.

* Adds more headers.

* Updates headers again.

* ?Removes comments.

* ?Reformats headers

* ?Reformats headers

* renames header files.

* ?Renames test.

* ?Fixes assertion.

* test

* test

* test

* Moves headers test to main package.

* Properly capitalizes headers.

* Allows and tests multiple cookie headers.

* Fixes comment.

* Adds otter back in.

* Verifies correct capitalization.

* Resets package version.

* Removes debug log.

* Makes persistent strings also interned and saves them once on the main thread.

---------

Co-authored-by: Alliballibaba <alliballibaba@gmail.com>
2025-01-27 21:48:20 +01:00

33 lines
886 B
Plaintext

<pre>
CONTENT_LENGTH:7
HTTP_CONTENT_LENGTH:7
CONTENT_TYPE:application/x-www-form-urlencoded
HTTP_CONTENT_TYPE:application/x-www-form-urlencoded
HTTP_SPECIAL_CHARS:<%00>
DOCUMENT_ROOT:{documentRoot}
DOCUMENT_URI:/server-all-vars-ordered.php
GATEWAY_INTERFACE:CGI/1.1
HTTP_HOST:localhost:{testPort}
HTTPS:
PATH_INFO:/path
DOCUMENT_ROOT:{documentRoot}
REMOTE_ADDR:127.0.0.1
PHP_SELF:/server-all-vars-ordered.php/path
REMOTE_HOST:127.0.0.1
REQUEST_SCHEME:http
SCRIPT_FILENAME:{documentRoot}/server-all-vars-ordered.php
SCRIPT_NAME:/server-all-vars-ordered.php
SERVER_NAME:localhost
SERVER_PORT:{testPort}
SERVER_PROTOCOL:HTTP/1.1
SERVER_SOFTWARE:FrankenPHP
SSL_PROTOCOL:
AUTH_TYPE:
REMOTE_IDENT:
PATH_TRANSLATED:{documentRoot}/path
QUERY_STRING:specialChars=%3E\x00%00</>
REMOTE_USER:user
REQUEST_METHOD:POST
REQUEST_URI:/original-path?specialChars=%3E\x00%00</>
HTTP_X_EMPTY_HEADER:
</pre>