Searched refs:putheader (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/http/ |
D | client.py | 1160 self.putheader('Host', netloc_enc) 1181 self.putheader('Host', host_enc) 1184 self.putheader('Host', "%s:%s" % (host_enc, port)) 1195 self.putheader('Accept-Encoding', 'identity') 1238 def putheader(self, header, *values): member in HTTPConnection 1316 self.putheader('Transfer-Encoding', 'chunked') 1318 self.putheader('Content-Length', str(content_length)) 1323 self.putheader(hdr, value)
|
/third_party/python/Lib/test/ |
D | test_httplib.py | 235 conn.putheader('Content-length', 42) 238 conn.putheader('Foo', ' bar ') 240 conn.putheader('Bar', '\tbaz\t') 242 conn.putheader('Authorization', 'Bearer mytoken') 244 conn.putheader('IterHeader', 'IterA', 'IterB') 246 conn.putheader('LatinHeader', b'\xFF') 248 conn.putheader('Utf8Header', b'\xc3\x80') 250 conn.putheader('C1-Control', b'next\x85line') 252 conn.putheader('Embedded-Fold-Space', 'is\r\n allowed') 254 conn.putheader('Embedded-Fold-Tab', 'is\r\n\tallowed') [all …]
|
D | test_httpservers.py | 198 self.con.putheader('Connection', 'close') 206 self.con.putheader('Connection', 'keep-alive')
|
D | test_xmlrpc.py | 1172 connection.putheader("Content-Encoding", "gzip")
|
/third_party/python/Lib/xmlrpc/ |
D | client.py | 1303 connection.putheader(key, val) 1317 connection.putheader("Content-Encoding", "gzip") 1320 connection.putheader("Content-Length", str(len(request_body)))
|
/third_party/python/Lib/logging/ |
D | handlers.py | 1248 h.putheader("Content-type", 1250 h.putheader("Content-length", str(len(data))) 1255 h.putheader('Authorization', s)
|
/third_party/python/Doc/library/ |
D | http.client.rst | 401 .. method:: HTTPConnection.putheader(header, argument[, ...])
|