Home
last modified time | relevance | path

Searched refs:handle_http (Results 1 – 24 of 24) sorted by relevance

/mOS-networking-stack/samples/lighttpd-1.4.32/tests/
H A Drequest.t26 ok($tf->handle_http($t) == 0, 'file not found');
120 ok($tf->handle_http($t) == 0, 'Continue, Expect');
131 ok($tf->handle_http($t) == 0, 'GET, Range 0-3');
140 ok($tf->handle_http($t) == 0, 'GET, Range -3');
149 ok($tf->handle_http($t) == 0, 'GET, Range 3-');
172 ok($tf->handle_http($t) == 0, 'GET, Range 0-1,3-4');
181 ok($tf->handle_http($t) == 0, 'GET, Range 0--');
190 ok($tf->handle_http($t) == 0, 'GET, Range -2-3');
212 ok($tf->handle_http($t) == 0, 'GET, Range -0');
252 ok($tf->handle_http($t) == 0, 'larger headers');
[all …]
H A Dcore-request.t26 ok($tf->handle_http($t) == 0, 'URL-encoding');
33 ok($tf->handle_http($t) == 0, 'URL-encoding, %00');
45 ok($tf->handle_http($t) == 0, 'hostname');
53 ok($tf->handle_http($t) == 0, 'IPv4 address');
61 ok($tf->handle_http($t) == 0, 'IPv6 address');
69 ok($tf->handle_http($t) == 0, 'hostname + port');
117 ok($tf->handle_http($t) == 0, 'leading dot');
126 ok($tf->handle_http($t) == 0, 'two dots');
175 ok($tf->handle_http($t) == 0, 'leading dash');
183 ok($tf->handle_http($t) == 0, 'dot only');
[all …]
H A Dmod-fastcgi.t38 ok($tf->handle_http($t) == 0, 'valid request');
46 ok($tf->handle_http($t) == 0, 'file not found');
102 ok($tf->handle_http($t) == 0, 'SERVER_NAME');
110 ok($tf->handle_http($t) == 0, 'SERVER_NAME');
118 ok($tf->handle_http($t) == 0, 'SERVER_NAME');
126 ok($tf->handle_http($t) == 0, 'SERVER_NAME');
133 ok($tf->handle_http($t) == 0, 'PATHINFO');
182 ok($tf->handle_http($t) == 0, 'X-Sendfile2');
189 ok($tf->handle_http($t) == 0, 'X-Sendfile2');
241 ok($tf->handle_http($t) == 0, 'Bug #6');
[all …]
H A Dcore.t31 ok($tf->handle_http($t) == 0, 'missing Protocol');
61 ok($tf->handle_http($t) == 0, 'strings as version');
82 ok($tf->handle_http($t) == 0, 'unknown method');
89 ok($tf->handle_http($t) == 0, 'unknown protocol');
96 ok($tf->handle_http($t) == 0, 'absolute URI');
121 ok($tf->handle_http($t) == 0, 'no whitespace');
130 ok($tf->handle_http($t) == 0, 'line-folding');
138 ok($tf->handle_http($t) == 0, 'URL-encoding');
145 ok($tf->handle_http($t) == 0, 'URL-encoding, %00');
152 ok($tf->handle_http($t) == 0, 'OPTIONS');
[all …]
H A Dmod-cgi.t26 ok($tf->handle_http($t) == 0, 'perl via cgi');
33 ok($tf->handle_http($t) == 0, 'perl via cgi + pathinfo');
40 ok($tf->handle_http($t) == 0, 'perl via cgi + pathinfo');
68 ok($tf->handle_http($t) == 0, 'cgi-env: GATEWAY_INTERFACE');
75 ok($tf->handle_http($t) == 0, 'cgi-env: QUERY_STRING');
82 ok($tf->handle_http($t) == 0, 'cgi-env: GATEWAY_INTERFACE');
90 ok($tf->handle_http($t) == 0, 'cgi-env: HTTP_HOST');
106 ok($tf->handle_http($t) == 0, 'cgi-env: HTTP_HOST');
114 ok($tf->handle_http($t) == 0, 'cgi-env: HTTP_HOST');
122 ok($tf->handle_http($t) == 0, 'cgi-env: HTTP_HOST');
[all …]
H A Dcore-condition.t26 ok($tf->handle_http($t) == 0, 'config deny');
34 ok($tf->handle_http($t) == 0, '2nd child of chaining');
42 ok($tf->handle_http($t) == 0, '3rd child of chaining');
50 ok($tf->handle_http($t) == 0, 'nesting');
58 ok($tf->handle_http($t) == 0, 'url subdir');
66 ok($tf->handle_http($t) == 0, 'url subdir with path traversal');
79 ok($tf->handle_http($t) == 0, 'condition: Referer - no referer');
88 ok($tf->handle_http($t) == 0, 'condition: Referer - referer matches regex');
96 ok($tf->handle_http($t) == 0, 'condition: Referer - no referer');
105 ok($tf->handle_http($t) == 0, 'condition: Referer - referer matches regex');
[all …]
H A Dmod-auth.t24 ok($tf->handle_http($t) == 0, 'Missing Auth-token');
32 ok($tf->handle_http($t) == 0, 'Basic-Auth: Invalid base64 Auth-token');
40 ok($tf->handle_http($t) == 0, 'Basic-Auth: Wrong Auth-token');
48 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - plain');
57 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (des)');
78 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token - htpasswd (md5)');
87 ok($tf->handle_http($t) == 0, 'Basic-Auth: Valid Auth-token');
98 ok($tf->handle_http($t) == 0, 'Digest-Auth: missing qop, no crash');
120 ok($tf->handle_http($t) == 0, 'Basic-Auth: Invalid Base64');
135 ok($tf->handle_http($t) == 0, 'Digest-Auth: md5-sess + missing cnonce');
[all …]
H A Dcachable.t29 ok($tf->handle_http($t) == 0, 'Conditional GET - old If-Modified-Since');
37 ok($tf->handle_http($t) == 0, 'Conditional GET - old If-Modified-Since, comment');
47 ok($tf->handle_http($t) == 0, 'Conditional GET - new If-Modified-Since');
55 ok($tf->handle_http($t) == 0, 'Conditional GET - new If-Modified-Since, comment');
63 ok($tf->handle_http($t) == 0, 'Conditional GET - old If-None-Match');
73 ok($tf->handle_http($t) == 0, 'Conditional GET - old If-None-Match');
82 ok($tf->handle_http($t) == 0, 'Conditional GET - ETag + old Last-Modified');
91 ok($tf->handle_http($t) == 0, 'Conditional GET - ETag, Last-Modified + comment');
100 ok($tf->handle_http($t) == 0, 'Conditional GET - old ETAG + old Last-Modified');
109 ok($tf->handle_http($t) == 0, 'Conditional GET - ETag + Last-Modified + overlong timestamp');
[all …]
H A Dcore-response.t28 ok($tf->handle_http($t) == 0, 'Date header');
35 ok($tf->handle_http($t) == 0, 'Host missing');
42 ok($tf->handle_http($t) == 0, 'ETag is set');
49 ok($tf->handle_http($t) == 0, 'ETag has quotes');
62 ok($tf->handle_http($t) == 0, 'Content-Length for text/html');
70 ok($tf->handle_http($t) == 0, 'Content-Length for text/plain');
80 ok($tf->handle_http($t) == 0, 'internal redirect in directory');
87 ok($tf->handle_http($t) == 0, 'internal redirect in directory + querystring');
97 ok($tf->handle_http($t) == 0, 'disabling simple-vhost via conditionals');
105 ok($tf->handle_http($t) == 0, 'simple-vhost via conditionals');
H A Dmod-compress.t27 ok($tf->handle_http($t) == 0, 'Vary is set');
36 ok($tf->handle_http($t) == 0, 'deflate - Content-Length and Content-Encoding is set');
45 ok($tf->handle_http($t) == 0, 'deflate - Content-Length and Content-Encoding is set');
54 ok($tf->handle_http($t) == 0, 'gzip - Content-Length and Content-Encoding is set');
63 ok($tf->handle_http($t) == 0, 'gzip - Content-Length and Content-Encoding is set');
72 ok($tf->handle_http($t) == 0, 'gzip, deflate - Content-Length and Content-Encoding is set');
80 ok($tf->handle_http($t) == 0, 'Content-Type is from the original file');
91 ok($tf->handle_http($t) == 0, 'Empty Accept-Encoding');
100 ok($tf->handle_http($t) == 0, 'bzip2 requested but disabled');
H A Dlowercase.t28 ok($tf->handle_http($t) == 0, 'uppercase access');
35 ok($tf->handle_http($t) == 0, 'lowercase access');
45 ok($tf->handle_http($t) == 0, 'uppercase access');
53 ok($tf->handle_http($t) == 0, 'lowercase access');
63 ok($tf->handle_http($t) == 0, 'upper case access to staticfile.exclude-extension');
71 ok($tf->handle_http($t) == 0, 'lowercase access');
81 ok($tf->handle_http($t) == 0, 'uppercase access to url.access-deny protected location');
89 ok($tf->handle_http($t) == 0, 'lowercase access');
H A Dsymlink.t47 ok($tf->handle_http($t) == 0, 'allow: simple file');
56 ok($tf->handle_http($t) == 0, 'allow: symlinked file');
65 ok($tf->handle_http($t) == 0, 'allow: directly symlinked dir');
74 ok($tf->handle_http($t) == 0, 'allow: symlinked dir in path');
84 ok($tf->handle_http($t) == 0, 'deny: simple file');
93 ok($tf->handle_http($t) == 0, 'deny: symlinked file');
102 ok($tf->handle_http($t) == 0, 'deny: directly symlinked dir');
111 ok($tf->handle_http($t) == 0, 'deny: symlinked dir in path');
H A Dcore-404-handler.t35 ok($tf->handle_http($t) == 0, '404 handler => static');
45 ok($tf->handle_http($t) == 0, '404 handler => dynamic(200)');
52 ok($tf->handle_http($t) == 0, '404 handler => dynamic(302)');
59 ok($tf->handle_http($t) == 0, '404 handler => dynamic(404)');
66 ok($tf->handle_http($t) == 0, '404 handler => dynamic(nostatus)');
73 ok($tf->handle_http($t) == 0, '404 generated by CGI should stay 404');
H A Dcore-keepalive.t31 ok($tf->handle_http($t) == 0, 'Explicit HTTP/1.0 Keep-Alive');
47 ok($tf->handle_http($t) == 0, 'Explicit HTTP/1.0 Keep-Alive');
61 ok($tf->handle_http($t) == 0, 'Implicit HTTP/1.0 Keep-Alive');
75 ok($tf->handle_http($t) == 0, 'Explicit HTTP/1.1 Keep-Alive');
89 ok($tf->handle_http($t) == 0, 'Implicit HTTP/1.1 Keep-Alive');
H A Dmod-redirect.t25 ok($tf->handle_http($t) == 0, 'external redirect');
33 ok($tf->handle_http($t) == 0, 'external redirect should have a Content-Length: 0');
41 ok($tf->handle_http($t) == 0, 'external redirect with cond regsub');
49 ok($tf->handle_http($t) == 0, 'external redirect with cond regsub on remoteip');
57 ok($tf->handle_http($t) == 0, 'external redirect with cond regsub on remoteip2');
H A Dmod-secdownload.t32 ok($tf->handle_http($t) == 0, 'secdownload');
44 ok($tf->handle_http($t) == 0, 'secdownload - gone (timeout)');
53 ok($tf->handle_http($t) == 0, 'secdownload - direct access');
62 ok($tf->handle_http($t) == 0, 'secdownload - conditional access');
76 ok($tf->handle_http($t) == 0, 'secdownload - timeout');
H A Dmod-setenv.t25 ok($tf->handle_http($t) == 0, 'query first setenv');
33 ok($tf->handle_http($t) == 0, 'query second setenv');
41 ok($tf->handle_http($t) == 0, 'query add-request-header');
49 ok($tf->handle_http($t) == 0, 'query add-response-header');
H A Dmod-rewrite.t37 ok($tf->handle_http($t) == 0, 'valid request');
45 ok($tf->handle_http($t) == 0, 'valid request');
53 ok($tf->handle_http($t) == 0, 'valid request');
61 ok($tf->handle_http($t) == 0, 'not existing file rewrite');
H A Dmod-userdir.t26 ok($tf->handle_http($t) == 0, 'valid user');
33 ok($tf->handle_http($t) == 0, 'valid user + redirect');
41 ok($tf->handle_http($t) == 0, 'valid user + redirect');
H A Dmod-proxy.t49 ok($tf_proxy->handle_http($t) == 0, 'valid request');
57 ok($tf_proxy->handle_http($t) == 0, 'drop Server from real server');
67 ok($tf_proxy->handle_http($t) == 0, 'rewrited urls work with encoded path');
H A Dmod-ssi.t26 ok($tf->handle_http($t) == 0, 'ssi - echo ');
35 ok($tf->handle_http($t) == 0, 'ssi - echo ');
H A Dmod-access.t24 ok($tf->handle_http($t) == 0, 'forbid access to ...~');
31 ok($tf->handle_http($t) == 0, '#1230 - forbid access to ...~ - trailing slash');
H A Dcore-var-include.t25 ok($tf->handle_http($t) == 0, 'basic test');
58 ok($tf->handle_http($t) == 0, $test);
H A DLightyTest.pm151 sub handle_http { subroutine