Home
last modified time | relevance | path

Searched refs:statusCode (Results 1 – 25 of 188) sorted by relevance

12345678

/third_party/node/deps/npm/node_modules/got/
Dindex.js34 const statusCode = res.statusCode;
36 …if (isRedirect(statusCode) && opts.followRedirect && 'location' in res.headers && (opts.method ===…
40 ee.emit('error', new got.MaxRedirectsError(statusCode, opts), null, res);
109 const statusCode = res.statusCode;
118 throw new got.ParseError(e, statusCode, opts, data);
122 if (statusCode < 200 || statusCode > limitStatusCode) {
123 throw new got.HTTPError(statusCode, opts);
177 const statusCode = res.statusCode;
181 if (statusCode < 200 || statusCode > 299) {
182 proxy.emit('error', new got.HTTPError(statusCode, opts), null, res);
[all …]
/third_party/vk-gl-cts/scripts/log/
Dlog_parser.py58 def __init__ (self, name, statusCode, statusDetails, log): argument
60 self.statusCode = statusCode
65 return "%s: %s (%s)" % (self.name, self.statusCode, self.statusDetails)
176 statusCode = ' '.join(args[1:])
177 statusDetails = statusCode
179 if not StatusCode.isValid(statusCode):
181 if statusCode == "Watchdog timeout occurred.":
182 statusCode = StatusCode.TIMEOUT
184 statusCode = StatusCode.CRASH
187 …self.testCaseResults.append(TestCaseResult(self.curCaseName, statusCode, statusDetails, self.curRe…
[all …]
/third_party/node/test/parallel/
Dtest-http2-compat-serverresponse-statuscode.js28 assert.strictEqual(response.statusCode, expectedDefaultStatusCode);
31 response.statusCode = realStatusCodes.ok;
32 response.statusCode = realStatusCodes.multipleChoices;
33 response.statusCode = realStatusCodes.badRequest;
34 response.statusCode = realStatusCodes.internalServerError;
37 response.statusCode = realStatusCodes.continue;
43 response.statusCode = fakeStatusCodes.tooLow;
49 response.statusCode = fakeStatusCodes.tooHigh;
Dtest-http-status-code.js37 console.log(`--\nserver: statusCode after writeHead: ${res.statusCode}`);
38 assert.strictEqual(res.statusCode, test);
50 console.log(`client: statusCode: ${response.statusCode}`);
51 assert.strictEqual(response.statusCode, test);
Dtest-http-information-headers.js39 assert.strictEqual(res.statusCode, 102,
40 `Received ${res.statusCode}, not 102.`);
53 assert.strictEqual(res.statusCode, 200,
54 `Final status code was ${res.statusCode}, not 200.`);
Dtest-http-expect-handling.js32 res.statusCode = 417;
39 console.log(`client: statusCode: ${response.statusCode}`);
40 assert.strictEqual(response.statusCode, test);
Dtest-http-mutable-headers.js156 res.statusCode = 404;
165 res.statusCode = 201;
185 assert.strictEqual(response.statusCode, 201);
207 assert.strictEqual(response.statusCode, 200);
/third_party/vk-gl-cts/executor/tools/
DxeExtractValues.cpp45 : statusCode(false) in CommandLine()
51 bool statusCode; member
60 xe::TestStatusCode statusCode; member
156 tagResult.statusCode = caseData->getStatusCode(); in testCaseResultComplete()
168 …if ((parseResult != xe::TestResultParser::PARSERESULT_ERROR && fullResult.statusCode != xe::TESTST… in testCaseResultComplete()
169 …(tagResult.statusCode == xe::TESTSTATUSCODE_LAST && fullResult.statusCode != xe::TESTSTATUSCODE_LA… in testCaseResultComplete()
171 tagResult.statusCode = fullResult.statusCode; in testCaseResultComplete()
174 else if (tagResult.statusCode == xe::TESTSTATUSCODE_LAST) in testCaseResultComplete()
177 tagResult.statusCode = xe::TESTSTATUSCODE_INTERNAL_ERROR; in testCaseResultComplete()
230 if (cmdLine.statusCode) in printTaggedValues()
[all …]
DxeTestLogCompare.cpp155 header.statusCode = caseData->getStatusCode(); in testCaseResultComplete()
158 if (header.statusCode == xe::TESTSTATUSCODE_LAST) in testCaseResultComplete()
251 headers[ndx].statusCode = xe::TESTSTATUSCODE_LAST; in getTestResultHeaders()
321 if (iter->statusCode != headers[0].statusCode) in runCompare()
337 …dst << " " << batchNames[ndx] << ": " << getStatusCodeName(headers[ndx].statusCode) << " (" << he… in runCompare()
344 …(cmdLine.outValue == OUTPUTVALUE_STATUS_CODE ? getStatusCodeName(iter->statusCode) : iter->statusD… in runCompare()
/third_party/node/deps/npm/node_modules/request/lib/
Dredirect.js50 …if (response.statusCode >= 300 && response.statusCode < 400 && response.caseless.has('location')) {
69 } else if (response.statusCode === 401) {
115 self.redirects.push({ statusCode: response.statusCode, redirectUri: redirectTo }) property
118 response.statusCode !== 401 && response.statusCode !== 307) {
125 if (response.statusCode !== 401 && response.statusCode !== 307) {
/third_party/grpc/src/csharp/Grpc.Core.Api/
DStatus.cs41 public Status(StatusCode statusCode, string detail) : this(statusCode, detail, null) in Status()
54 public Status(StatusCode statusCode, string detail, Exception debugException) in Status()
56 StatusCode = statusCode; in Status()
/third_party/node/deps/npm/node_modules/node-fetch-npm/src/
Dindex.js75 if (fetch.isRedirect(res.statusCode) && request.redirect !== 'manual') {
105 if (res.statusCode === 303 ||
106 ((res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST')) {
137 status: res.statusCode,
155 …s || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode ===…
/third_party/vk-gl-cts/framework/platform/android/
DtcuTestLogParserJNI.cpp57 void testCaseResult (const char* statusCode, const char* details);
149 void TestLogListener::testCaseResult (const char* statusCode, const char* details) in testCaseResult() argument
151 jstring jStatusCode = m_env->NewStringUTF(statusCode); in testCaseResult()
234 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult) in parse()
236 …listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.s… in parse()
272 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult) in parse()
274 …listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.s… in parse()
293 if (m_testCaseResult.statusCode != xe::TESTSTATUSCODE_LAST && !m_loggedResult) in parse()
295 …listener.testCaseResult(xe::getTestStatusCodeName(m_testCaseResult.statusCode), m_testCaseResult.s… in parse()
/third_party/node/lib/internal/http2/
Dcompat.js455 statusCode: HTTP_STATUS_OK,
520 get statusCode() { getter in Http2ServerResponse
521 return this[kState].statusCode;
540 set statusCode(code) { setter in Http2ServerResponse
546 this[kState].statusCode = code;
634 this.writeHead(state.statusCode);
637 writeHead(statusCode, statusMessage, headers) { argument
666 state.statusCode = statusCode;
706 this.writeHead(state.statusCode);
744 this.writeHead(this[kState].statusCode);
[all …]
/third_party/node/benchmark/diagnostics_channel/
Dhttp.js53 statusCode: res.statusCode, property
84 statusCode: res.statusCode, property
/third_party/node/deps/npm/test/tap/
Dreferer.js8 s.statusCode = 404
28 s.statusCode = 204
48 s.statusCode = 204
68 s.statusCode = 204
/third_party/node/lib/
D_http_server.js199 ServerResponse.prototype.statusCode = 200; method in ServerResponse
250 this.writeHead(this.statusCode);
254 function writeHead(statusCode, reason, obj) { argument
255 const originalStatusCode = statusCode;
257 statusCode |= 0;
258 if (statusCode < 100 || statusCode > 999) {
269 this.statusMessage = STATUS_CODES[statusCode] || 'unknown';
272 this.statusCode = statusCode;
309 const statusLine = `HTTP/1.1 ${statusCode} ${this.statusMessage}${CRLF}`;
311 if (statusCode === 204 || statusCode === 304 ||
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/lib/
Dinstall.js186 if (res.statusCode !== 200) {
188 cb(new Error(res.statusCode + ' response downloading ' + release.tarballUrl))
272 if (res.statusCode !== 200) {
273 done(new Error(res.statusCode + ' status code downloading checksum'))
327 if (res.statusCode === 403 || res.statusCode === 404) {
335 } else if (res.statusCode !== 200) {
336 done(new Error(res.statusCode + ' status code downloading ' + name))
426 log.http(res.statusCode, url)
/third_party/node/test/internet/
Dtest-inspector-help-page.js18 assert(res.statusCode >= 200 && res.statusCode < 400);
20 if (res.statusCode >= 300)
/third_party/vk-gl-cts/scripts/
Drun_nightly.py105 def __init__ (self, name, statusCode): argument
107 self.statusCode = statusCode
185 statusCode = result.statusCode if result != None else 'Missing'
186 statusCodes.append(statusCode)
225 for statusCode in result.statusCodes:
226 col += '<td class="%s">%s</td>\n' % (statusCode, statusCode)
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/
Dnet.dart89 return (response.statusCode == 200) ? <int>[] : null;
91 if (response.statusCode != 200) {
92 if (response.statusCode > 0 && response.statusCode < 500) {
96 'Error: ${response.statusCode} ${response.reasonPhrase}',
101 printTrace('Download error: ${response.statusCode} ${response.reasonPhrase}');
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/base/
Dnet_test.dart226 MockHttpClient(this.statusCode);
228 final int statusCode;
232 return MockHttpClientRequest(statusCode);
237 return MockHttpClientRequest(statusCode);
247 MockHttpClientRequest(this.statusCode);
249 final int statusCode;
253 return MockHttpClientResponse(statusCode);
263 MockHttpClientResponse(this.statusCode);
266 final int statusCode;
/third_party/node/deps/npm/node_modules/socks-proxy-agent/test/
Dtest.js96 res.statusCode = 404;
105 assert.equal(404, res.statusCode);
121 res.statusCode = 404;
132 assert.equal(404, res.statusCode);
/third_party/grpc/src/objective-c/GRPCClient/private/GRPCCore/
DNSError+GRPC.m25 + (instancetype)grpc_errorFromStatusCode:(grpc_status_code)statusCode
28 if (statusCode == GRPC_STATUS_OK) {
40 return [NSError errorWithDomain:kGRPCErrorDomain code:statusCode userInfo:userInfo];
/third_party/vk-gl-cts/executor/
DxeTestResultParser.cpp232 TestStatusCode getTestStatusCode (const char* statusCode) in getTestStatusCode() argument
234 …Code)getEnumValue("status code", s_statusCodeMap, DE_LENGTH_OF_ARRAY(s_statusCodeMap), statusCode); in getTestStatusCode()
384 m_result->statusCode = TESTSTATUSCODE_INTERNAL_ERROR; in parse()
392 m_result->statusCode = TESTSTATUSCODE_INTERNAL_ERROR; in parse()
498 result->statusCode = getTestStatusCode(getAttribute("StatusCode")); in handleElementStart()
764 m_result->statusCode = result->statusCode; in handleElementEnd()
893 result->statusCode = data.getStatusCode(); in parseTestCaseResultFromData()
902 if (result->statusCode == TESTSTATUSCODE_LAST) in parseTestCaseResultFromData()
904 result->statusCode = TESTSTATUSCODE_INTERNAL_ERROR; in parseTestCaseResultFromData()
914 else if (result->statusCode == TESTSTATUSCODE_LAST) in parseTestCaseResultFromData()
[all …]

12345678