Home
last modified time | relevance | path

Searched refs:send_header (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython2/Lib/
DSimpleHTTPServer.py79 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))
DSimpleXMLRPCServer.py515 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)))
DBaseHTTPServer.py366 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
DDocXMLRPCServer.py238 self.send_header("Content-type", "text/html")
239 self.send_header("Content-length", str(len(response)))
Dpydoc.py2063 self.send_header('Content-Type', 'text/html')
/external/autotest/client/site_tests/login_ChromeProfileSanitary/
Dlogin_ChromeProfileSanitary.py24 handler.send_header('Set-Cookie', 'name=value')
25 handler.send_header('Location', url_args['continue'][0])
/external/python/cpython2/Lib/test/
Dtest_urllib2_localnet.py101 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")
427 self.send_header(header, value % self.port)
429 self.send_header('Content-type', 'text/plain')
Dtest_httpservers.py43 self.send_header('Content-Type', 'text/html')
162 self.send_header('Content-Type', 'text/html')
163 self.send_header('Connection', 'close')
168 self.send_header('Content-Type', 'text/html')
169 self.send_header('Connection', 'keep-alive')
177 self.send_header('Content-Type', 'text/html')
178 self.send_header('Connection', 'close')
Dssl_servers.py105 self.send_header("Content-type", "text/plain; charset=utf-8")
106 self.send_header("Content-Length", str(len(body)))
/external/clang/tools/scan-view/share/
DScanView.py722 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/autotest/client/cros/cellular/
Dtest_endpoint.py36 self.send_header('Content-type', 'application/octet-stream')
/external/autotest/client/site_tests/autoupdate_CannedOmahaUpdate/
Dautoupdate_CannedOmahaUpdate.py74 self.send_header('Content-Type', 'application/xml')
/external/autotest/client/site_tests/platform_MetricsUploader/
Dplatform_MetricsUploader.py44 self.send_header('Content-type', 'text/html')
/external/python/cpython2/Doc/library/
Dbasehttpserver.rst156 header (using :meth:`send_header`) in all of its responses to clients.
214 .. method:: send_header(keyword, value)
/external/v8/tools/
Dgrokdump.py2092 self.send_header("Cache-Control", "no-cache, no-store, must-revalidate")
2093 self.send_header("Pragma", "no-cache")
2094 self.send_header("Expires", "0")
2095 self.send_header('Content-type','text/html')