Searched refs:putheader (Results 1 - 7 of 7) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
H A D | httplib.py | 20 | ( putheader() )* endheaders()
34 response.read() | | ( putheader() )* endheaders()
890 self.putheader('Host', netloc_enc)
900 self.putheader('Host', host_enc)
902 self.putheader('Host', "%s:%s" % (host_enc, self.port))
913 self.putheader('Accept-Encoding', 'identity')
917 #self.putheader('TE', 'chunked')
921 #self.putheader('Connection', 'TE')
927 def putheader(self, header, *values):
member in class:HTTPConnection 930 For example: h.putheader('Accep [all...] |
H A D | urllib.py | 334 h.putheader('Content-Type', 'application/x-www-form-urlencoded')
335 h.putheader('Content-Length', '%d' % len(data))
338 if proxy_auth: h.putheader('Proxy-Authorization', 'Basic %s' % proxy_auth)
339 if auth: h.putheader('Authorization', 'Basic %s' % auth)
340 if realhost: h.putheader('Host', realhost)
341 for args in self.addheaders: h.putheader(*args)
426 h.putheader('Content-Type',
428 h.putheader('Content-Length', '%d' % len(data))
431 if proxy_auth: h.putheader('Proxy-Authorization', 'Basic %s' % proxy_auth)
432 if auth: h.putheader('Authorizatio [all...] |
H A D | xmlrpclib.py | 1392 connection.putheader("Accept-Encoding", "gzip")
1412 connection.putheader(key, value)
1420 connection.putheader("User-Agent", self.user_agent)
1429 connection.putheader("Content-Type", "text/xml")
1435 connection.putheader("Content-Encoding", "gzip")
1438 connection.putheader("Content-Length", str(len(request_body)))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
H A D | test_xmlrpc.py | 698 connection.putheader("Content-Encoding", "gzip")
963 conn.putheader("X-Test", "test_custom_user_agent")
973 conn.putheader("X-Test", "test_send_host")
983 conn.putheader("X-Test", "test_send_request")
992 conn.putheader("X-Test", "test_send_content")
|
H A D | test_httpservers.py | 242 self.con.putheader('Connection', 'close')
250 self.con.putheader('Connection', 'keep-alive')
|
H A D | test_httplib.py | 97 conn.putheader('Content-length',42)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/ |
H A D | handlers.py | 1047 h.putheader("Host", host)
1049 h.putheader("Content-type",
1051 h.putheader("Content-length", str(len(data)))
|
Completed in 83 milliseconds