Searched refs:putheader (Results 1 - 6 of 6) sorted by relevance
/third_party/python/Lib/http/ |
H A D | client.py | 20 | ( putheader() )* endheaders() 36 response.read() | | ( putheader() )* endheaders() 1164 self.putheader('Host', netloc_enc) 1185 self.putheader('Host', host_enc) 1188 self.putheader('Host', "%s:%s" % (host_enc, port)) 1199 self.putheader('Accept-Encoding', 'identity') 1203 #self.putheader('TE', 'chunked') 1207 #self.putheader('Connection', 'TE') 1242 def putheader(self, header, *values): member in HTTPConnection 1245 For example: h.putheader('Accep [all...] |
/third_party/python/Lib/test/ |
H A D | test_httplib.py | 237 conn.putheader('Content-length', 42) 240 conn.putheader('Foo', ' bar ') 242 conn.putheader('Bar', '\tbaz\t') 244 conn.putheader('Authorization', 'Bearer mytoken') 246 conn.putheader('IterHeader', 'IterA', 'IterB') 248 conn.putheader('LatinHeader', b'\xFF') 250 conn.putheader('Utf8Header', b'\xc3\x80') 252 conn.putheader('C1-Control', b'next\x85line') 254 conn.putheader('Embedded-Fold-Space', 'is\r\n allowed') 256 conn.putheader('Embedde [all...] |
H A D | test_httpservers.py | 220 self.con.putheader('Connection', 'close') 228 self.con.putheader('Connection', 'keep-alive')
|
H A D | test_xmlrpc.py | 1174 connection.putheader("Content-Encoding", "gzip")
|
/third_party/python/Lib/logging/ |
H A D | handlers.py | 1279 # h.putheader("Host", host) 1281 h.putheader("Content-type", 1283 h.putheader("Content-length", str(len(data))) 1288 h.putheader('Authorization', s)
|
/third_party/python/Lib/xmlrpc/ |
H A D | client.py | 1303 connection.putheader(key, val) 1317 connection.putheader("Content-Encoding", "gzip") 1320 connection.putheader("Content-Length", str(len(request_body)))
|
Completed in 12 milliseconds