15 $this->assertEquals($expected,
$result,
"Error testing $test_type works.");
26 'Another-Key-For-Testing' =>
'baz' 29 'HTTP_KEY_ONE' =>
'foo',
30 'HTTP_KEY_TWO' =>
'bar',
31 'HTTP_ANOTHER_KEY_FOR_TESTING' =>
'baz' 37 'Content-Type' =>
'two' 40 'HTTP_CONTENT_TYPE' =>
'one',
41 'CONTENT_TYPE' =>
'two' 47 'Content-Length' =>
'222' 50 'CONTENT_LENGTH' =>
'222',
51 'HTTP_CONTENT_LENGTH' =>
'111' 55 'Content-Length (HTTP_CONTENT_LENGTH only)',
57 'Content-Length' =>
'111' 60 'HTTP_CONTENT_LENGTH' =>
'111' 66 'Content-Md5' =>
'aef123' 69 'CONTENT_MD5' =>
'aef123',
70 'HTTP_CONTENT_MD5' =>
'fea321' 74 'Content-MD5 (HTTP_CONTENT_MD5 only)',
76 'Content-Md5' =>
'f123' 79 'HTTP_CONTENT_MD5' =>
'f123' 83 'Authorization (normal)',
85 'Authorization' =>
'testing' 88 'HTTP_AUTHORIZATION' =>
'testing',
92 'Authorization (redirect)',
94 'Authorization' =>
'testing redirect' 97 'REDIRECT_HTTP_AUTHORIZATION' =>
'testing redirect',
101 'Authorization (PHP_AUTH_USER + PHP_AUTH_PW)',
103 'Authorization' =>
'Basic ' . base64_encode(
'foo:bar')
106 'PHP_AUTH_USER' =>
'foo',
107 'PHP_AUTH_PW' =>
'bar' 111 'Authorization (PHP_AUTH_DIGEST)',
113 'Authorization' =>
'example-digest' 116 'PHP_AUTH_DIGEST' =>
'example-digest' if((!isset($_SERVER['DOCUMENT_ROOT'])) OR(empty($_SERVER['DOCUMENT_ROOT']))) $_SERVER['DOCUMENT_ROOT']
Create styles array
The data for the language used.