/external/python/cpython2/Lib/test/ |
D | test_httplib.py | 185 conn.putheader('Content-length',42) 188 conn.putheader('Foo', ' bar ') 190 conn.putheader('Bar', '\tbaz\t') 192 conn.putheader('Authorization', 'Bearer mytoken') 194 conn.putheader('IterHeader', 'IterA', 'IterB') 196 conn.putheader('LatinHeader', b'\xFF') 198 conn.putheader('Utf8Header', b'\xc3\x80') 200 conn.putheader('C1-Control', b'next\x85line') 202 conn.putheader('Embedded-Fold-Space', 'is\r\n allowed') 204 conn.putheader('Embedded-Fold-Tab', 'is\r\n\tallowed') [all …]
|
D | test_xmlrpc.py | 796 connection.putheader("Content-Encoding", "gzip") 1074 conn.putheader("X-Test", "test_custom_user_agent") 1084 conn.putheader("X-Test", "test_send_host") 1094 conn.putheader("X-Test", "test_send_request") 1103 conn.putheader("X-Test", "test_send_content")
|
D | test_httpservers.py | 251 self.con.putheader('Connection', 'close') 259 self.con.putheader('Connection', 'keep-alive')
|
/external/python/cpython2/Lib/ |
D | httplib.py | 961 self.putheader('Host', netloc_enc) 978 self.putheader('Host', host_enc) 980 self.putheader('Host', "%s:%s" % (host_enc, port)) 991 self.putheader('Accept-Encoding', 'identity') 1005 def putheader(self, header, *values): member in HTTPConnection 1065 self.putheader('Content-Length', thelen) 1081 self.putheader(hdr, value) 1166 self.putheader = conn.putheader
|
D | urllib.py | 342 h.putheader('Content-Type', 'application/x-www-form-urlencoded') 343 h.putheader('Content-Length', '%d' % len(data)) 346 if proxy_auth: h.putheader('Proxy-Authorization', 'Basic %s' % proxy_auth) 347 if auth: h.putheader('Authorization', 'Basic %s' % auth) 348 if realhost: h.putheader('Host', realhost) 349 for args in self.addheaders: h.putheader(*args) 434 h.putheader('Content-Type', 436 h.putheader('Content-Length', '%d' % len(data)) 439 if proxy_auth: h.putheader('Proxy-Authorization', 'Basic %s' % proxy_auth) 440 if auth: h.putheader('Authorization', 'Basic %s' % auth) [all …]
|
D | xmlrpclib.py | 1412 connection.putheader("Accept-Encoding", "gzip") 1432 connection.putheader(key, value) 1440 connection.putheader("User-Agent", self.user_agent) 1449 connection.putheader("Content-Type", "text/xml") 1455 connection.putheader("Content-Encoding", "gzip") 1458 connection.putheader("Content-Length", str(len(request_body)))
|
/external/python/setuptools/setuptools/command/ |
D | upload_docs.py | 183 conn.putheader('Content-type', content_type) 184 conn.putheader('Content-length', str(len(body))) 185 conn.putheader('Authorization', auth)
|
/external/python/cpython3/Lib/http/ |
D | client.py | 1136 self.putheader('Host', netloc_enc) 1157 self.putheader('Host', host_enc) 1160 self.putheader('Host', "%s:%s" % (host_enc, port)) 1171 self.putheader('Accept-Encoding', 'identity') 1185 def putheader(self, header, *values): member in HTTPConnection 1263 self.putheader('Transfer-Encoding', 'chunked') 1265 self.putheader('Content-Length', str(content_length)) 1270 self.putheader(hdr, value)
|
/external/python/cpython3/Lib/test/ |
D | test_httplib.py | 228 conn.putheader('Content-length', 42) 231 conn.putheader('Foo', ' bar ') 233 conn.putheader('Bar', '\tbaz\t') 235 conn.putheader('Authorization', 'Bearer mytoken') 237 conn.putheader('IterHeader', 'IterA', 'IterB') 239 conn.putheader('LatinHeader', b'\xFF') 241 conn.putheader('Utf8Header', b'\xc3\x80') 243 conn.putheader('C1-Control', b'next\x85line') 245 conn.putheader('Embedded-Fold-Space', 'is\r\n allowed') 247 conn.putheader('Embedded-Fold-Tab', 'is\r\n\tallowed') [all …]
|
D | test_httpservers.py | 194 self.con.putheader('Connection', 'close') 202 self.con.putheader('Connection', 'keep-alive')
|
D | test_xmlrpc.py | 1109 connection.putheader("Content-Encoding", "gzip")
|
/external/python/cpython2/Lib/logging/ |
D | handlers.py | 1115 h.putheader("Host", host) 1117 h.putheader("Content-type", 1119 h.putheader("Content-length", str(len(data)))
|
/external/python/cpython3/Lib/xmlrpc/ |
D | client.py | 1291 connection.putheader(key, val) 1305 connection.putheader("Content-Encoding", "gzip") 1308 connection.putheader("Content-Length", str(len(request_body)))
|
/external/python/cpython3/Lib/logging/ |
D | handlers.py | 1187 h.putheader("Content-type", 1189 h.putheader("Content-length", str(len(data))) 1194 h.putheader('Authorization', s)
|
/external/python/cpython2/Doc/faq/ |
D | library.rst | 668 httpobj.putheader('Accept', '*/*') 669 httpobj.putheader('Connection', 'Keep-Alive') 670 httpobj.putheader('Content-type', 'application/x-www-form-urlencoded') 671 httpobj.putheader('Content-length', '%d' % len(qs))
|
/external/python/cpython2/Doc/library/ |
D | httplib.rst | 510 .. method:: HTTPConnection.putheader(header, argument[, ...])
|
D | xmlrpclib.rst | 603 connection.putheader('Host', self.realhost)
|
/external/python/cpython3/Doc/library/ |
D | http.client.rst | 370 .. method:: HTTPConnection.putheader(header, argument[, ...])
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7a1.rst | 4608 httplib.HTTPConnection.putheader() now accepts an arbitrary number of values
|