/external/python/cpython2/Lib/ |
D | SimpleHTTPServer.py | 79 self.send_header("Location", new_url) 100 self.send_header("Content-type", ctype) 102 self.send_header("Content-Length", str(fs[6])) 103 self.send_header("Last-Modified", self.date_time_string(fs.st_mtime)) 147 self.send_header("Content-type", "text/html; charset=%s" % encoding) 148 self.send_header("Content-Length", str(length))
|
D | SimpleXMLRPCServer.py | 515 self.send_header("X-exception", str(e)) 516 self.send_header("X-traceback", traceback.format_exc()) 518 self.send_header("Content-length", "0") 523 self.send_header("Content-type", "text/xml") 530 self.send_header("Content-Encoding", "gzip") 533 self.send_header("Content-length", str(len(response))) 551 self.send_header("Content-length", "0") 558 self.send_header("Content-type", "text/plain") 559 self.send_header("Content-length", str(len(response)))
|
D | BaseHTTPServer.py | 366 self.send_header('Connection', 'close') 380 self.send_header("Content-Type", self.error_content_type) 406 self.send_header('Server', self.version_string()) 407 self.send_header('Date', self.date_time_string()) 409 def send_header(self, keyword, value): member in BaseHTTPRequestHandler
|
D | DocXMLRPCServer.py | 238 self.send_header("Content-type", "text/html") 239 self.send_header("Content-length", str(len(response)))
|
/external/python/cpython3/Lib/xmlrpc/ |
D | server.py | 525 self.send_header("X-exception", str(e)) 528 self.send_header("X-traceback", trace) 530 self.send_header("Content-length", "0") 534 self.send_header("Content-type", "text/xml") 541 self.send_header("Content-Encoding", "gzip") 544 self.send_header("Content-length", str(len(response))) 562 self.send_header("Content-length", "0") 569 self.send_header("Content-type", "text/plain") 570 self.send_header("Content-length", str(len(response))) 923 self.send_header("Content-type", "text/html") [all …]
|
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/ |
D | port_server.py | 156 self.send_header('Content-Type', 'text/plain') 163 self.send_header('Content-Type', 'text/plain') 178 self.send_header('Content-Type', 'text/plain') 186 self.send_header('Content-Type', 'text/plain')
|
/external/grpc-grpc/tools/run_tests/python_utils/ |
D | port_server.py | 154 self.send_header('Content-Type', 'text/plain') 161 self.send_header('Content-Type', 'text/plain') 176 self.send_header('Content-Type', 'text/plain') 184 self.send_header('Content-Type', 'text/plain')
|
/external/python/cpython3/Lib/http/ |
D | server.py | 459 self.send_header('Connection', 'close') 477 self.send_header("Content-Type", self.error_content_type) 478 self.send_header('Content-Length', str(len(body))) 494 self.send_header('Server', self.version_string()) 495 self.send_header('Date', self.date_time_string()) 511 def send_header(self, keyword, value): member in BaseHTTPRequestHandler 691 self.send_header("Location", new_url) 747 self.send_header("Content-type", ctype) 748 self.send_header("Content-Length", str(fs[6])) 749 self.send_header("Last-Modified", [all …]
|
/external/autotest/client/site_tests/login_ChromeProfileSanitary/ |
D | login_ChromeProfileSanitary.py | 24 handler.send_header('Set-Cookie', 'name=value') 25 handler.send_header('Location', url_args['continue'][0])
|
/external/python/httplib2/python2/httplib2/test/ |
D | test_ssl_context.py | 23 self.send_header("Content-Length", "0") 24 self.send_header("Connection", "keep-alive")
|
/external/python/cpython2/Lib/test/ |
D | test_urllib2_localnet.py | 101 self.send_header("Content-type", "text/html") 106 self.send_header("WWW-Authenticate", "Basic realm=\"%s\"" % self.REALM) 107 self.send_header("Content-type", "text/html") 185 request_handler.send_header("Content-Type", "text/html") 186 request_handler.send_header( 268 self.send_header("Content-Type", "text/html") 422 self.send_header(header, value % self.port) 424 self.send_header('Content-type', 'text/plain')
|
D | test_httpservers.py | 43 self.send_header('Content-Type', 'text/html') 163 self.send_header('Content-Type', 'text/html') 164 self.send_header('Connection', 'close') 169 self.send_header('Content-Type', 'text/html') 170 self.send_header('Connection', 'keep-alive') 178 self.send_header('Content-Type', 'text/html') 179 self.send_header('Connection', 'close')
|
D | ssl_servers.py | 105 self.send_header("Content-type", "text/plain; charset=utf-8") 106 self.send_header("Content-Length", str(len(body)))
|
/external/python/cpython3/Lib/test/ |
D | test_urllib2_localnet.py | 144 request_handler.send_header("Content-Type", "text/html") 145 request_handler.send_header( 220 self.send_header("Content-type", "text/html") 225 self.send_header("WWW-Authenticate", "Basic realm=\"%s\"" % self.REALM) 226 self.send_header("Content-type", "text/html") 270 self.send_header("Content-Type", "text/html") 426 self.send_header(header, value % {'port':self.port}) 428 self.send_header("Content-type", "text/plain")
|
D | ssl_servers.py | 105 self.send_header("Content-type", "text/plain; charset=utf-8") 106 self.send_header("Content-Length", str(len(body)))
|
D | test_httpservers.py | 93 self.send_header('Content-Type', 'text/html') 94 self.send_header('Connection', 'close') 99 self.send_header('Content-Type', 'text/html') 100 self.send_header('Connection', 'keep-alive') 115 self.send_header('Content-Type', 'text/html') 116 self.send_header('Connection', 'close') 121 self.send_header('X-Special', 'Dängerous Mind') 122 self.send_header('Connection', 'close') 866 self.send_header('Content-Type', 'text/html') 1031 handler.send_header('Foo', 'foo') [all …]
|
/external/clang/tools/scan-view/share/ |
D | ScanView.py | 722 self.send_header("Content-type", ctype) 724 self.send_header("Content-Length", str(fs[6])) 725 self.send_header("Last-Modified", self.date_time_string(fs.st_mtime)) 732 self.send_header("Content-type", ctype) 733 self.send_header("Content-Length", str(len(s))) 736 self.send_header("Last-Modified", self.date_time_string(mtime))
|
/external/llvm-project/clang/tools/scan-view/share/ |
D | ScanView.py | 739 self.send_header("Content-type", ctype) 741 self.send_header("Content-Length", str(fs[6])) 742 self.send_header("Last-Modified", self.date_time_string(fs.st_mtime)) 750 self.send_header("Content-type", ctype) 751 self.send_header("Content-Length", str(len(encoded_s))) 754 self.send_header("Last-Modified", self.date_time_string(mtime))
|
/external/llvm-project/llvm/tools/sancov/ |
D | coverage-report-server.py | 135 self.send_header("Content-type", "text/html; charset=utf-8") 161 self.send_header("Content-type", "text/html; charset=utf-8")
|
/external/autotest/client/cros/cellular/ |
D | test_endpoint.py | 36 self.send_header('Content-type', 'application/octet-stream')
|
/external/grpc-grpc/test/core/http/ |
D | test_server.py | 39 self.send_header('Content-Type', 'text/html')
|
/external/python/oauth2client/oauth2client/ |
D | tools.py | 126 self.send_header("Content-type", "text/html")
|
/external/autotest/client/site_tests/platform_MetricsUploader/ |
D | platform_MetricsUploader.py | 44 self.send_header('Content-type', 'text/html')
|
/external/python/cpython3/Doc/library/ |
D | http.server.rst | 161 header (using :meth:`send_header`) in all of its responses to clients. 228 intend to send any other headers using the :meth:`send_header` method, 236 .. method:: send_header(keyword, value) 241 specifying its value. Note that, after the send_header calls are done,
|
/external/perfetto/tools/ |
D | record_android_trace | 40 self.send_header('Access-Control-Allow-Origin', '*')
|