Lines Matching refs:handle_http

26 ok($tf->handle_http($t) == 0, 'Valid HTTP/1.0 Request') or ($tf->stop_proc, die());
33 ok($tf->handle_http($t) == 0, 'OPTIONS');
42 ok($tf->handle_http($t) == 0, 'OPTIONS');
49 ok($tf->handle_http($t) == 0, 'URL-encoding, %00');
58 ok($tf->handle_http($t) == 0, 'Content-Length > max-request-size');
65 ok($tf->handle_http($t) == 0, 'Content-Type - image/jpeg');
72 ok($tf->handle_http($t) == 0, 'Content-Type - image/jpeg (upper case)');
79 ok($tf->handle_http($t) == 0, 'uppercase filenames');
86 ok($tf->handle_http($t) == 0, 'file not found + querystring');
94 ok($tf->handle_http($t) == 0, 'GET, content == 12345, mimetype text/plain');
102 ok($tf->handle_http($t) == 0, 'GET, content == 12345, mimetype text/html');
112 ok($tf->handle_http($t) == 0, 'POST request, empty request-body');
119 ok($tf->handle_http($t) == 0, 'HEAD request, no content');
127 ok($tf->handle_http($t) == 0, 'HEAD request, mimetype text/html, content-length');
135 ok($tf->handle_http($t) == 0, 'Hostname in first line, HTTP/1.1');
142 ok($tf->handle_http($t) == 0, 'Hostname in first line as https url');
149 ok($tf->handle_http($t) == 0, 'HEAD request, file-not-found, query-string');
165 ok($tf->handle_http($t) == 0, 'Continue, Expect');
183 ok($tf->handle_http($t) == 0, 'POST via Transfer-Encoding: chunked, lc hex');
199 ok($tf->handle_http($t) == 0, 'POST via Transfer-Encoding: chunked, uc hex');
215 ok($tf->handle_http($t) == 0, 'POST via Transfer-Encoding: chunked, two hex');
232 ok($tf->handle_http($t) == 0, 'POST via Transfer-Encoding: chunked, with trailer');
248 ok($tf->handle_http($t) == 0, 'POST via Transfer-Encoding: chunked, chunked header comment');
264 ok($tf->handle_http($t) == 0, 'POST via Transfer-Encoding: chunked; bad chunked header');
280 ok($tf->handle_http($t) == 0, 'POST via Transfer-Encoding: chunked; mismatch chunked header size an…
296 ok($tf->handle_http($t) == 0, 'POST via Transfer-Encoding: chunked; chunked header too long');
308 ok($tf->handle_http($t) == 0, 'GET, Range 0-3');
318 ok($tf->handle_http($t) == 0, 'GET, Range -3');
328 ok($tf->handle_http($t) == 0, 'GET, Range 3-');
338 ok($tf->handle_http($t) == 0, 'GET, Range 0-1,3-4 (ranges merged)');
361 ok($tf->handle_http($t) == 0, 'GET, Range 0-1,97-98 (ranges not merged)');
371 ok($tf->handle_http($t) == 0, 'GET, Range 0-');
381 ok($tf->handle_http($t) == 0, 'GET, Range 0--');
391 ok($tf->handle_http($t) == 0, 'GET, Range -2-3');
414 ok($tf->handle_http($t) == 0, 'GET, Range -0');
438 ok($tf->handle_http($t) == 0, 'GET, Range start out of range');
449 ok($tf->handle_http($t) == 0, 'GET, Range with range-requests-disabled');
460 ok($tf->handle_http($t) == 0, 'GET, Range invalid range-unit (first)');
471 ok($tf->handle_http($t) == 0, 'GET, Range ignore invalid range (second)');
481 ok($tf->handle_http($t) == 0, 'OPTIONS with Content-Length');
489 ok($tf->handle_http($t) == 0, 'OPTIONS for RTSP');
500 ok($tf->handle_http($t) == 0, 'Similar Headers (bug #1287)');
508 ok($tf->handle_http($t) == 0, 'Status 304 has no Content-Length (#1002)');
517 ok($tf->handle_http($t) == 0, 'GET, slow \\r\\n\\r\\n (#2105)');
525 ok($tf->handle_http($t) == 0, 'pathinfo on a directory');
535 ok($tf->handle_http($t) == 0, 'Connection-header, leading comma');
544 ok($tf->handle_http($t) == 0, 'Connection-header, no value between two commas');
553 ok($tf->handle_http($t) == 0, 'Connection-header, space between two commas');
562 ok($tf->handle_http($t) == 0, 'Connection-header, comma after value');
571 ok($tf->handle_http($t) == 0, 'Connection-header, comma and space after value');
583 ok($tf->handle_http($t) == 0, 'Date header');
595 ok($tf->handle_http($t) == 0, 'Content-Length for text/html');
603 ok($tf->handle_http($t) == 0, 'Content-Length for text/plain');
613 ok($tf->handle_http($t) == 0, 'internal redirect in directory');
620 ok($tf->handle_http($t) == 0, 'internal redirect in directory + querystring');
627 ok($tf->handle_http($t) == 0, 'internal redirect in directory with special characters');
634 ok($tf->handle_http($t) == 0, 'internal redirect in directory with special characters + querystring…
645 ok($tf->handle_http($t) == 0, 'disabling simple-vhost via conditionals');
653 ok($tf->handle_http($t) == 0, 'simple-vhost via conditionals');
669 ok($tf->handle_http($t) == 0, 'Explicit HTTP/1.0 Keep-Alive');
683 ok($tf->handle_http($t) == 0, 'Explicit HTTP/1.0 Keep-Alive');
696 ok($tf->handle_http($t) == 0, 'Implicit HTTP/1.0 Keep-Alive');
709 ok($tf->handle_http($t) == 0, 'Explicit HTTP/1.1 Keep-Alive');
721 ok($tf->handle_http($t) == 0, 'Implicit HTTP/1.1 Keep-Alive');
734 ok($tf->handle_http($t) == 0, 'Implicit HTTP/1.1 Keep-Alive w/ extra blank b/w requests');
748 ok($tf->handle_http($t) == 0, 'Implicit HTTP/1.1 Keep-Alive w/ excess blank b/w requests');
759 ok($tf->handle_http($t) == 0, '404 handler => static');
767 ok($tf->handle_http($t) == 0, '404 handler => dynamic(200)');
775 ok($tf->handle_http($t) == 0, '404 handler => dynamic(302)');
783 ok($tf->handle_http($t) == 0, '404 handler => dynamic(404)');
791 ok($tf->handle_http($t) == 0, 'error handler => dynamic(REDIRECT_STATUS)');
799 ok($tf->handle_http($t) == 0, '404 handler => dynamic(nostatus)');
807 ok($tf->handle_http($t) == 0, '404 generated by CGI should stay 404');
818 ok($tf->handle_http($t) == 0, 'condition: Referer - no referer');
827 ok($tf->handle_http($t) == 0, 'condition: Referer - referer matches regex');
835 ok($tf->handle_http($t) == 0, 'condition: Referer - no referer');
844 ok($tf->handle_http($t) == 0, 'condition: Referer - referer matches regex');
853 ok($tf->handle_http($t) == 0, 'condition: Referer - referer doesn\'t match');
865 ok($tf->handle_http($t) == 0, 'remote ip cache (#255)');
873 ok($tf->handle_http($t) == 0, 'condition: $HTTP["referer"] == "" and Referer is no set');
882 ok($tf->handle_http($t) == 0, 'condition: $HTTP["referer"] == "" and Referer is empty');
891 ok($tf->handle_http($t) == 0, 'condition: $HTTP["referer"] == "" and Referer: foobar');
904 ok($tf->handle_http($t) == 0, 'uppercase access');
912 ok($tf->handle_http($t) == 0, 'lowercase access');
922 ok($tf->handle_http($t) == 0, 'uppercase access');
930 ok($tf->handle_http($t) == 0, 'lowercase access');
940 ok($tf->handle_http($t) == 0, 'upper case access to staticfile.exclude-extension');
948 ok($tf->handle_http($t) == 0, 'lowercase access');
958 ok($tf->handle_http($t) == 0, 'uppercase access to url.access-deny protected location');
966 ok($tf->handle_http($t) == 0, 'lowercase access');
1001 ok($tf->handle_http($t) == 0, 'allow: simple file');
1010 ok($tf->handle_http($t) == 0, 'allow: symlinked file');
1019 ok($tf->handle_http($t) == 0, 'allow: directly symlinked dir');
1028 ok($tf->handle_http($t) == 0, 'allow: symlinked dir in path');
1038 ok($tf->handle_http($t) == 0, 'deny: simple file');
1047 ok($tf->handle_http($t) == 0, 'deny: symlinked file');
1056 ok($tf->handle_http($t) == 0, 'deny: directly symlinked dir');
1065 ok($tf->handle_http($t) == 0, 'deny: symlinked dir in path');
1078 ok($tf->handle_http($t) == 0, 'Missing Auth-token');
1087 ok($tf->handle_http($t) == 0, 'Basic-Auth: Invalid base64 Auth-token');
1096 ok($tf->handle_http($t) == 0, 'Basic-Auth: Wrong Auth-token');
1105 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - plain');
1116 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (des)');
1125 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (des) (lowercase)');
1135 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (sha)');
1144 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (sha, wrong password)');
1153 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (apr-md5)');
1162 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (apr-md5, wrong password)');
1175 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (crypt-md5)');
1185 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token');
1197 ok($tf->handle_http($t) == 0, 'Digest-Auth: missing qop, no crash');
1215 ok($tf->handle_http($t) == 0, 'Digest-Auth: missing nc (noncecount instead), no crash');
1224 ok($tf->handle_http($t) == 0, 'Basic-Auth: Invalid Base64');
1236 ok($tf->handle_http($t) == 0, 'Digest-Auth: md5-sess + missing cnonce');
1248 ok($tf->handle_http($t) == 0, 'Digest-Auth: stale nonce');
1260 ok($tf->handle_http($t) == 0, 'Digest-Auth: BWS, trailing WS, stale nonce');
1270 ok($tf->handle_http($t) == 0, 'perl via cgi');
1278 ok($tf->handle_http($t) == 0, 'No source retrieval');
1288 ok($tf->handle_http($t) == 0, 'perl via cgi + pathinfo');
1295 ok($tf->handle_http($t) == 0, 'perl via cgi and internal redirect from CGI');
1303 ok($tf->handle_http($t) == 0, 'X-Sendfile');
1311 ok($tf->handle_http($t) == 0, 'Status + Location via FastCGI');
1319 ok($tf->handle_http($t) == 0, 'Trailing slash as path-info (#1989: workaround broken operating syst…
1326 ok($tf->handle_http($t) == 0, 'NPH + perl, invalid status-code (#14)');
1333 ok($tf->handle_http($t) == 0, 'NPH + perl, setting status-code (#1125)');
1340 ok($tf->handle_http($t) == 0, 'NPH + perl, setting status-code');
1347 ok($tf->handle_http($t) == 0, 'cgi-env: GATEWAY_INTERFACE');
1354 ok($tf->handle_http($t) == 0, 'cgi-env: QUERY_STRING');
1361 ok($tf->handle_http($t) == 0, 'cgi-env: SCRIPT_NAME');
1368 ok($tf->handle_http($t) == 0, 'cgi-env: SCRIPT_NAME w/ PATH_INFO');
1375 ok($tf->handle_http($t) == 0, 'cgi-env: PATH_INFO');
1383 ok($tf->handle_http($t) == 0, 'cgi-env: quoting headers with numbers');
1391 ok($tf->handle_http($t) == 0, 'cgi-env: HTTP_HOST');
1400 ok($tf->handle_http($t) == 0, 'cgi-env: HTTP_HOST');
1409 ok($tf->handle_http($t) == 0, 'cgi-env: ABSENT');
1418 ok($tf->handle_http($t) == 0, 'cgi-env: BLANK_VALUE');
1426 ok($tf->handle_http($t) == 0, 'broken header via perl cgi');
1438 ok($tf->handle_http($t) == 0, 'Vary is set');
1447 ok($tf->handle_http($t) == 0, 'deflate - Content-Length and Content-Encoding is set');
1456 ok($tf->handle_http($t) == 0, 'deflate - Content-Length and Content-Encoding is set');
1465 ok($tf->handle_http($t) == 0, 'gzip - Content-Length and Content-Encoding is set');
1474 ok($tf->handle_http($t) == 0, 'gzip - Content-Length and Content-Encoding is set');
1484 ok($tf->handle_http($t) == 0, 'gzip, deflate - Content-Length and Content-Encoding is set');
1493 ok($tf->handle_http($t) == 0, 'Content-Type is from the original file');
1505 ok($tf->handle_http($t) == 0, 'Empty Accept-Encoding');
1514 ok($tf->handle_http($t) == 0, 'bzip2 requested but disabled');
1526 ok($tf->handle_http($t) == 0, 'expect 127.0.10.1, from single ip');
1535 ok($tf->handle_http($t) == 0, 'expect 127.0.20.1, from two ips');
1544 ok($tf->handle_http($t) == 0, 'expect 127.0.20.1, from chained proxies');
1553 ok($tf->handle_http($t) == 0, 'expect 127.0.20.1, from chained proxies');
1572 ok($tf_proxy->handle_http($t) == 0, 'valid request');
1580 ok($tf_proxy->handle_http($t) == 0, 'drop Server from real server');
1588 ok($tf_proxy->handle_http($t) == 0, 'rewrited urls work with encoded path');
1603 ok($tf->handle_http($t) == 0, 'query first setenv');
1611 ok($tf->handle_http($t) == 0, 'query second setenv');
1619 ok($tf->handle_http($t) == 0, 'query set-environment');
1627 ok($tf->handle_http($t) == 0, 'query add-request-header');
1635 ok($tf->handle_http($t) == 0, 'query set-request-header');
1643 ok($tf->handle_http($t) == 0, 'query add-response-header');
1651 ok($tf->handle_http($t) == 0, 'query set-response-header');