Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
DBaseHTTPServer.py253 self.send_error(400, "Bad request version (%r)" % version)
268 self.send_error(400, "Bad request version (%r)" % version)
273 self.send_error(505,
280 self.send_error(400,
286 self.send_error(400, "Bad request syntax (%r)" % requestline)
315 self.send_error(414)
325 self.send_error(501, "Unsupported method (%r)" % self.command)
344 def send_error(self, code, message=None): member in BaseHTTPRequestHandler
DCGIHTTPServer.py64 self.send_error(501, "Can only POST to CGI scripts")
136 self.send_error(404, "No such CGI script (%r)" % scriptname)
139 self.send_error(403, "CGI script is not a plain file (%r)" %
145 self.send_error(403, "CGI script is not a Python script (%r)" %
149 self.send_error(403, "CGI script is not executable (%r)" %
DSimpleHTTPServer.py96 self.send_error(404, "File not found")
121 self.send_error(404, "No permission to list directory")
/external/python/cpython3/Lib/http/
Dserver.py307 self.send_error(
314 self.send_error(
321 self.send_error(
329 self.send_error(
340 self.send_error(
346 self.send_error(
400 self.send_error(HTTPStatus.REQUEST_URI_TOO_LONG)
410 self.send_error(
431 def send_error(self, code, message=None, explain=None): member in BaseHTTPRequestHandler
708 self.send_error(HTTPStatus.NOT_FOUND, "File not found")
[all …]
/external/openscreen/cast/common/channel/
Dcast_socket_message_port.cc77 const Error send_error = router_->Send( in PostMessage() local
79 if (!send_error.ok()) { in PostMessage()
80 client_->OnError(std::move(send_error)); in PostMessage()
/external/clang/tools/scan-view/share/
DScanView.py405 return self.send_error(400, 'Invalid report.')
409 return self.send_error(400, 'File does not exist: "%s"' % file)
505 return self.send_error(400, e.message)
644 return self.send_error(401, 'Unauthorized host.')
698 self.send_error(404, "File not found")
/external/llvm-project/clang/tools/scan-view/share/
DScanView.py422 return self.send_error(400, 'Invalid report.')
426 return self.send_error(400, 'File does not exist: "%s"' % file)
522 return self.send_error(400, e.message)
661 return self.send_error(401, 'Unauthorized host.')
715 self.send_error(404, "File not found")
/external/python/cpython3/Lib/test/
Dtest_httpservers.py104 self.send_error(999)
107 self.send_error(HTTPStatus.NOT_FOUND)
110 self.send_error(999, "Short Message",
128 self.send_error(int(self.path[1:]))
131 self.send_error(int(self.path[1:]))
303 self.send_error(HTTPStatus.NOT_FOUND, 'File not found')
875 self.send_error(HTTPStatus.EXPECTATION_FAILED)
1005 handler.send_error(418)
Dtest_robotparser.py304 self.send_error(403, "Forbidden access")
/external/python/cpython2/Lib/wsgiref/
Dsimple_server.py121 self.send_error(414)
/external/python/cpython3/Lib/wsgiref/
Dsimple_server.py123 self.send_error(414)
/external/openssh/
Dkex.c1147 send_error(struct ssh *ssh, char *msg) in send_error() function
1218 send_error(ssh, "No SSH identification string " in kex_exchange_identification()
1232 send_error(ssh, "Timed out waiting " in kex_exchange_identification()
1322 send_error(ssh, "Invalid SSH identification string."); in kex_exchange_identification()
1345 send_error(ssh, "Protocol major versions differ."); in kex_exchange_identification()
/external/python/cpython2/Lib/test/
Dtest_robotparser.py167 self.send_error(403, "Forbidden access")
Dtest_httpservers.py174 self.send_error(999)
183 self.send_error(int(self.path[1:]))
186 self.send_error(int(self.path[1:]))
/external/python/cpython3/Doc/library/
Dhttp.server.rst146 Specifies a format string that should be used by :meth:`send_error` method
149 that passed to :meth:`send_error`.
176 :meth:`send_response_only` and :meth:`send_error` methods.
203 .. method:: send_error(code, message=None, explain=None)
/external/perfetto/tools/
Drecord_android_trace48 self.send_error(404, "File not found")
/external/scapy/scapy/layers/
Dtftp.py444 def send_error(self): member in TFTP_RRQ_server
/external/python/cpython2/Doc/library/
Dbasehttpserver.rst195 .. method:: send_error(code[, message])
/external/llvm-project/lldb/tools/debugserver/source/
DDNB.cpp831 DNBError send_error; in DNBProcessSendEvent() local
832 return procSP->SendEvent(event, send_error); in DNBProcessSendEvent()
/external/python/cpython3/Misc/NEWS.d/
D3.6.0a2.rst281 Stop http.server.BaseHTTPRequestHandler.send_error() from sending a message
D3.5.2rc1.rst436 Stop http.server.BaseHTTPRequestHandler.send_error() from sending a message
/external/python/cpython2/Misc/NEWS.d/
D2.7.12rc1.rst270 Stop BaseHTTPServer.BaseHTTPRequestHandler.send_error() from sending a
/external/python/cpython3/Doc/whatsnew/
D3.4.rst958 :meth:`~http.server.BaseHTTPRequestHandler.send_error` now accepts an
/external/python/cpython3/Misc/
DHISTORY5241 - Issue #12921: http.server's send_error takes an explain argument to send more
5767 - Issue #16088: BaseHTTPRequestHandler's send_error method includes a