Home
last modified time | relevance | path

Searched refs:HTTP (Results 1 - 25 of 48) sorted by relevance

12

/third_party/curl/tests/
H A Dserverhelp.pm133 ($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 Dtestutil.pm155 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 Dhttp.rs82 let (input, _) = tag("HTTP/")(input)?; in http_version()
157 let data = &b"GET / HTTP/1.1
/third_party/node/test/parallel/
H A Dtest-http2-info-headers.js15 /^HTTP status code 101 \(Switching Protocols\) is forbidden in HTTP\/2$/;
H A Dtest-http-response-no-headers.js36 const reply = `HTTP/${httpVersion} 200 OK\r\n\r\n${expected[httpVersion]}`;
H A Dtest-http-incoming-pipelined-socket-destroy.js67 return `GET /${r} HTTP/1.1\r\n` +
H A Dtest-http-pipeline-flood.js4 // 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 Dtest-http-set-trailers.js29 // 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 Dtest-http-response-status-message.js31 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 Dtest-http-keep-alive-pipeline-max-requests.js23 socket.write('POST / HTTP/1.1\r\n');
76 assert.match(responseParts[6], /HTTP\/1\.1 503 Service Unavailable/m);
H A Dtest-https-agent-create-connection.js18 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 Dllhttp.c3163 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 Dhttp.h76 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 Drtsp.h70 * 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.js169 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.js58 // 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 D114-paste-integer-tokens.c4 4. HTTP code for Not Found: PASTE3(__LINE__, __FILE__ , __LINE__)
/third_party/node/benchmark/http/
H A Dbench-parser.js46 let header = `GET /hello HTTP/1.1${CRLF}Content-Type: text/plain${CRLF}`;
/third_party/rust/crates/once_cell/examples/
H A Dregex.rs13 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 Dnode_perf_common.h36 V(HTTP, "http") \
/third_party/nghttp2/src/
H A Dshrpx_config_test.cc2 * 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 Dhtmldiff.pl507 my $req1 = new HTTP::Request GET => $url1;
516 my $req2 = new HTTP::Request GET => $url2;
/third_party/python/Lib/email/
H A Dpolicy.py21 'HTTP',
223 HTTP = default.clone(linesep='\r\n', max_line_length=None) variable
/third_party/node/lib/internal/modules/esm/
H A Dfetch_module.js25 * @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 Dproxy-agent.js105 callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`))

Completed in 15 milliseconds

12