Home
last modified time | relevance | path

Searched refs:header (Results 176 – 200 of 270) sorted by path

1234567891011

/php-src/ext/standard/tests/general_functions/
H A Dbug60227_2.phpt2 Bug #60227 (header() cannot detect the multi-line header with CR), \r before \n
8 header("X-foo: e\n foo");
12 Warning: Header may not contain more than a single header, new line detected in %s on line %d
H A Dbug60227_3.phpt2 Bug #60227 (header() cannot detect the multi-line header with CR), \0 before \n
8 header("X-Foo6: e\0Set-Cookie: ID=\n123\n d");
H A Dbug60227_4.phpt2 Bug #60227 (header() cannot detect the multi-line header with CR), CRLF
8 header("X-foo: e\r\nfoo");
12 Warning: Header may not contain more than a single header, new line detected in %s on line %d
H A Dbug71891.phpt7 echo 'header';
14 header
H A Dhead.phpt2 header() and friends
8 var_dump(header("HTTP 1.0", true, 200));
13 var_dump(header(""));
14 var_dump(header("", true));
17 var_dump(header("HTTP blah"));
18 var_dump(header("HTTP blah", true));
30 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
33 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
39 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
42 Warning: Cannot modify header information - headers already sent by (output started at %s:%d) in %s…
H A Dheader_redirection_001.phpt6 header('Location: http://example.com/');
H A Dheader_redirection_002.phpt6 header("HTTP/1.1 418 I'm a Teapot");
7 header('Location: http://example.com/');
H A Dheader_redirection_003.phpt2 Location: headers respect the header() response code parameter
6 header('Location: http://example.com/', true, 404);
H A Dheader_redirection_005.phpt6 header('HTTP/1.1 201 Created');
7 header('Location: http://example.com/');
H A Dheader_redirection_006.phpt6 header('HTTP/1.1 300 Multiple Choices');
7 header('Location: http://example.com/');
H A Dheader_redirection_007.phpt6 header('HTTP/1.1 301 Moved Permanently');
7 header('Location: http://example.com/');
H A Dheader_redirection_008.phpt6 header('HTTP/1.1 302 Found');
7 header('Location: http://example.com/');
H A Dheader_redirection_009.phpt6 header('HTTP/1.1 303 See Other');
7 header('Location: http://example.com/');
H A Dheader_redirection_010.phpt6 header('HTTP/1.1 304 Not Modified');
7 header('Location: http://example.com/');
H A Dheader_redirection_011.phpt6 header('HTTP/1.1 305 Use Proxy');
7 header('Location: http://example.com/');
H A Dheader_redirection_012.phpt6 header('HTTP/1.1 307 Temporary Redirect');
7 header('Location: http://example.com/');
H A Dheader_redirection_013.phpt6 header('HTTP/1.1 308 Permanent Redirect');
7 header('Location: http://example.com/');
H A Dheader_redirection_014.phpt6 header('HTTP/1.1 399 Choose Your Own Adventure');
7 header('Location: http://example.com/');
/php-src/ext/standard/tests/http/
H A Dbug47021.phpt29 'header' => 'Connection: Close'
44 . "Content-Type\r\n" // Deliberately invalid header
68 // Trailing space at end of header
H A Dbug48929.phpt2 Bug #48929 (duplicate \r\n sent after last header line)
33 echo "-- Test: requests with 'header' as array --\n";
35 do_test(array('header' => array('X-Foo: bar', 'Content-Type: text/plain'), 'method' => 'POST', 'con…
37 echo "-- Test: requests with 'header' as string --\n";
39 do_test(array('header' => "X-Foo: bar\r\nContent-Type: text/plain", 'method' => 'POST', 'content' =…
43 -- Test: requests with 'header' as array --
52 -- Test: requests with 'header' as string --
H A Dbug53198.phpt2 Bug #53198 (From: header cannot be changed with ini_set)
H A Dbug61548.phpt11 function do_test($header) {
15 'header' => $header,
H A Dbug65634.phpt19 $options['http']['header'] = "Connection: $connection";
H A Dbug73297.phpt14 'header' => 'Connection: Close'
H A Dbug75981.phpt14 'header' => 'Connection: Close'

Completed in 26 milliseconds

1234567891011