Home
last modified time | relevance | path

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

/third_party/python/Lib/xmlrpc/
Dserver.py525 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 …]
/third_party/grpc/tools/run_tests/python_utils/
Dport_server.py156 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')
/third_party/python/Lib/http/
Dserver.py459 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)
692 self.send_header("Content-Length", "0")
748 self.send_header("Content-type", ctype)
749 self.send_header("Content-Length", str(fs[6]))
[all …]
/third_party/python/Lib/test/
Dtest_urllib2_localnet.py145 request_handler.send_header("Content-Type", "text/html")
146 request_handler.send_header(
221 self.send_header("Content-type", "text/html")
226 self.send_header("WWW-Authenticate", "Basic realm=\"%s\"" % self.REALM)
227 self.send_header("Content-type", "text/html")
271 self.send_header("Content-Type", "text/html")
427 self.send_header(header, value % {'port':self.port})
429 self.send_header("Content-type", "text/plain")
Dssl_servers.py105 self.send_header("Content-type", "text/plain; charset=utf-8")
106 self.send_header("Content-Length", str(len(body)))
Dtest_httpservers.py95 self.send_header('Content-Type', 'text/html')
96 self.send_header('Connection', 'close')
101 self.send_header('Content-Type', 'text/html')
102 self.send_header('Connection', 'keep-alive')
117 self.send_header('Content-Type', 'text/html')
118 self.send_header('Connection', 'close')
123 self.send_header('X-Special', 'Dängerous Mind')
124 self.send_header('Connection', 'close')
878 self.send_header('Content-Type', 'text/html')
1043 handler.send_header('Foo', 'foo')
[all …]
Dtest_xmlrpc.py325 self.send_header("Content-Length", len(response))
/third_party/grpc/test/core/http/
Dtest_server.py44 self.send_header('Content-Type', 'text/html')
/third_party/ninja/src/
Dbrowse.py174 self.send_header('Location', '?' + args.initial_target)
/third_party/cef/tools/
Dcrash_server.py155 self.send_header('Content-type', 'text/html')
/third_party/python/Doc/library/
Dhttp.server.rst163 header (using :meth:`send_header`) in all of its responses to clients.
230 intend to send any other headers using the :meth:`send_header` method,
238 .. method:: send_header(keyword, value)
243 specifying its value. Note that, after the send_header calls are done,
/third_party/python/Lib/
Dpydoc.py2359 self.send_header('Content-Type', '%s; charset=UTF-8' % content_type)