Home
last modified time | relevance | path

Searched refs:http_error (Results 1 – 9 of 9) sorted by relevance

/external/grpc-grpc/tools/gcp/utils/
Dbig_query_utils.py51 except HttpError as http_error:
52 if http_error.resp.status == 409:
57 http_error)
126 except HttpError as http_error:
127 if http_error.resp.status == 409:
131 http_error)
158 except HttpError as http_error:
159 print 'Error in creating table: %s. Err: %s' % (table_id, http_error)
177 except HttpError as http_error:
191 except HttpError as http_error:
[all …]
/external/grpc-grpc/src/core/lib/transport/
Derror_utils.cc48 grpc_http2_error_code* http_error, in grpc_error_get_status() argument
80 if (http_error != nullptr) { in grpc_error_get_status()
82 *http_error = static_cast<grpc_http2_error_code>(integer); in grpc_error_get_status()
85 *http_error = in grpc_error_get_status()
88 *http_error = found_error == GRPC_ERROR_NONE ? GRPC_HTTP2_NO_ERROR in grpc_error_get_status()
/external/python/apitools/apitools/base/py/
Dbase_api_test.py203 http_error = error_context.exception
204 self.assertEquals(400, http_error.status_code)
205 self.assertEquals('http://www.google.com', http_error.url)
206 self.assertEquals('{"field": "abc"}', http_error.content)
207 self.assertEquals(method_config, http_error.method_config)
208 self.assertEquals(request, http_error.request)
/external/webrtc/webrtc/base/
Dhttpbase.cc286 HttpError http_error; in Read() local
287 bool complete = base_->DoReceiveLoop(&http_error); in Read()
297 HttpBase* base = Disconnect(http_error); in Read()
300 base->complete(http_error); in Read()
781 HttpError http_error = HandleStreamClose(error); in OnHttpStreamEvent() local
783 complete(http_error); in OnHttpStreamEvent()
785 do_complete(http_error); in OnHttpStreamEvent()
787 notify_->onHttpClosed(http_error); in OnHttpStreamEvent()
/external/python/cpython2/Lib/
Durllib.py364 return self.http_error(url, fp, errcode, errmsg, headers)
366 return self.http_error(url, fp, errcode, errmsg, headers, data)
368 def http_error(self, url, fp, errcode, errmsg, headers, data=None): member in URLopener
457 return self.http_error(url, fp, errcode, errmsg, headers)
459 return self.http_error(url, fp, errcode, errmsg, headers,
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dchttp2_transport.cc1765 grpc_http2_error_code http_error; in send_goaway() local
1768 &http_error, nullptr); in send_goaway()
1770 static_cast<uint32_t>(http_error), in send_goaway()
2061 grpc_http2_error_code http_error; in grpc_chttp2_cancel_stream() local
2063 &http_error, nullptr); in grpc_chttp2_cancel_stream()
2067 s->id, static_cast<uint32_t>(http_error), &s->stats.outgoing)); in grpc_chttp2_cancel_stream()
/external/python/cpython3/Lib/urllib/
Drequest.py1928 return self.http_error(
1936 def http_error(self, url, fp, errcode, errmsg, headers, data=None): member in URLopener
/external/python/cpython2/Misc/
DHISTORY10476 http_error had the 'data is None' test backwards. don't call with the
/external/python/cpython3/Misc/
DHISTORY27855 http_error had the 'data is None' test backwards. don't call with the