/third_party/curl/tests/ |
H A D | serverhelp.pm | 133 ($proto =~ /^(((FTP|HTTP|HTTP\/2|HTTP\/3|IMAP|POP3|GOPHER|SMTP|HTTP-PIPE)S?)|(TFTP|SFTP|SOCKS|SSH|RTSP|HTTPTLS|DICT|SMB|SMBS|TELNET|MQTT))$/));
|
H A D | testutil.pm | 155 if(($$thing =~ /^HTTP\/(1.1|1.0|2|3) [1-5][^\x0d]*\z/) || 156 ($$thing =~ /^(GET|POST|PUT|DELETE) \S+ HTTP\/\d+(\.\d+)?/) ||
|
/third_party/rust/crates/nom/benchmarks/benches/ |
H A D | http.rs | 82 let (input, _) = tag("HTTP/")(input)?; in http_version() 157 let data = &b"GET / HTTP/1.1
|
/third_party/node/test/parallel/ |
H A D | test-http2-info-headers.js | 15 /^HTTP status code 101 \(Switching Protocols\) is forbidden in HTTP\/2$/;
|
H A D | test-http-response-no-headers.js | 36 const reply = `HTTP/${httpVersion} 200 OK\r\n\r\n${expected[httpVersion]}`;
|
H A D | test-http-incoming-pipelined-socket-destroy.js | 67 return `GET /${r} HTTP/1.1\r\n` +
|
H A D | test-http-pipeline-flood.js | 4 // Here we are testing the HTTP server module's flood prevention mechanism. 6 // native buffer is full), the HTTP server cork()s the readable part of the 71 let req = `GET / HTTP/1.1\r\nHost: localhost:${port}\r\nAccept: */*\r\n\r\n`;
|
H A D | test-http-set-trailers.js | 29 // First, we test an HTTP/1.0 request. 36 c.write('GET / HTTP/1.0\r\n\r\n'); 48 `No trailer in HTTP/1.0 response. Response buffer: ${res_buffer}` 54 // Now, we test an HTTP/1.1 request. 62 c.write('GET / HTTP/1.1\r\n\r\n'); 73 `No trailer in HTTP/1.1 response. Response buffer: ${res_buffer}`
|
H A D | test-http-response-status-message.js | 31 response: 'HTTP/1.1 200 OK\r\n\r\n' }, 33 response: 'HTTP/1.1 500 Internal Server Error\r\n\r\n' }, 35 response: 'HTTP/1.1 302 Moved Temporarily\r\n\r\n' }, 37 response: 'HTTP/1.1 200 \r\n\r\n' }, 39 response: 'HTTP/1.1 200\r\n\r\n' }, 53 const path = data.toString().match(/GET (.*) HTTP\/1\.1/)[1];
|
H A D | test-http-keep-alive-pipeline-max-requests.js | 23 socket.write('POST / HTTP/1.1\r\n'); 76 assert.match(responseParts[6], /HTTP\/1\.1 503 Service Unavailable/m);
|
H A D | test-https-agent-create-connection.js | 18 const expectedHeader = /^HTTP\/1\.1 200 OK/; 25 socket.write('GET / HTTP/1.1\r\n\r\n');
|
/third_party/nghttp2/third-party/llhttp/src/ |
H A D | llhttp.c | 3163 state->reason = "Invalid HTTP version"; in llhttp__internal__run() 6111 state->reason = "Invalid HTTP version"; in llhttp__internal__run() 8196 state->reason = "Expected HTTP/2 Connection Preface"; in llhttp__internal__run() 8408 state->reason = "Invalid method for HTTP/x.x request"; in llhttp__internal__run() 8495 state->reason = "Expected HTTP/"; in llhttp__internal__run() 9341 state->reason = "Expected HTTP/"; in llhttp__internal__run()
|
/third_party/curl/lib/ |
H A D | http.h | 76 struct HTTP; /* see below */ 79 struct HTTP *http, 182 * automatically add an "Expect: 100-continue" header in HTTP requests. When 191 combined that libcurl allows for a single HTTP response, any HTTP 198 * HTTP unique setup 200 struct HTTP { struct 218 void *h2_ctx; /* HTTP/2 implementation context */ 219 void *h3_ctx; /* HTTP/3 implementation context */ 258 /* Decode HTTP statu [all...] |
H A D | rtsp.h | 70 * HTTP functions can safely treat this as an HTTP struct, but RTSP aware 73 struct HTTP http_wrapper; /* wrap HTTP to do the heavy lifting */
|
/third_party/node/lib/ |
H A D | _http_server.js | 169 505: 'HTTP Version Not Supported', // RFC 7231 6.6.6 301 this._writeRaw('HTTP/1.1 100 Continue\r\n\r\n', 'ascii', cb); 306 this._writeRaw('HTTP/1.1 102 Processing\r\n\r\n', 'ascii', cb); 310 let head = 'HTTP/1.1 103 Early Hints\r\n'; 397 const statusLine = `HTTP/1.1 ${statusCode} ${this.statusMessage}\r\n`; 685 // need to pause TCP socket/HTTP parser, and wait until the data will be 837 `HTTP/1.1 400 ${STATUS_CODES[400]}\r\n` + 841 `HTTP/1.1 408 ${STATUS_CODES[408]}\r\n` + 845 `HTTP/1.1 431 ${STATUS_CODES[431]}\r\n` + 850 `HTTP/1. [all...] |
H A D | _http_common.js | 58 // called to process trailing HTTP headers. 208 * Verifies that the given val is a valid HTTP token 253 process.emitWarning('Using insecure HTTP parsing');
|
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/ |
H A D | 114-paste-integer-tokens.c | 4 4. HTTP code for Not Found: PASTE3(__LINE__, __FILE__ , __LINE__)
|
/third_party/node/benchmark/http/ |
H A D | bench-parser.js | 46 let header = `GET /hello HTTP/1.1${CRLF}Content-Type: text/plain${CRLF}`;
|
/third_party/rust/crates/once_cell/examples/ |
H A D | regex.rs | 13 let s = r##"13.28.24.13 - - [10/Mar/2016:19:29:25 +0100] "GET /etc/lib/pChart2/examples/index.php?Action=View&Script=../../../../cnf/db.php HTTP/1.1" 404 151 "-" "HTTP_Request2/2.2.1 (http://pear.php.net/package/http_request2) PHP/5.3.16""##; in slow() 28 let s = r##"13.28.24.13 - - [10/Mar/2016:19:29:25 +0100] "GET /etc/lib/pChart2/examples/index.php?Action=View&Script=../../../../cnf/db.php HTTP/1.1" 404 151 "-" "HTTP_Request2/2.2.1 (http://pear.php.net/package/http_request2) PHP/5.3.16""##; in fast()
|
/third_party/node/src/ |
H A D | node_perf_common.h | 36 V(HTTP, "http") \
|
/third_party/nghttp2/src/ |
H A D | shrpx_config_test.cc | 2 * nghttp2 - HTTP/2 C Library 107 CU_ASSERT(LogFragmentType::HTTP == res[10].type); in test_shrpx_config_parse_log_format() 118 CU_ASSERT(LogFragmentType::HTTP == res[14].type); in test_shrpx_config_parse_log_format()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/htmldiff/ |
H A D | htmldiff.pl | 507 my $req1 = new HTTP::Request GET => $url1; 516 my $req2 = new HTTP::Request GET => $url2;
|
/third_party/python/Lib/email/ |
H A D | policy.py | 21 'HTTP', 223 HTTP = default.clone(linesep='\r\n', max_line_length=None) variable
|
/third_party/node/lib/internal/modules/esm/ |
H A D | fetch_module.js | 25 * @property {Record<string, string>} headers HTTP headers of the response. 31 * HTTP cache semantics keep diff caches 47 /** @type {import('https').Agent} The Cached HTTP Agent for **secure** HTTP requests. */ 66 /** @type {import('https').Agent} The Cached HTTP Agent for **insecure** HTTP requests. */ 69 * Make a HTTP GET request (handling agent setup if needed, caching the agent to avoid 171 err.message = `Cannot find module '${parsed.href}', HTTP 404`; 175 // 3xx redirection codes without `Location` HTTP header. 254 * Does not respect HTTP cach [all...] |
/third_party/node/deps/undici/src/lib/ |
H A D | proxy-agent.js | 105 callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`))
|