Home
last modified time | relevance | path

Searched refs:putheader (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dhttplib.py890 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')
927 def putheader(self, header, *values): member in HTTPConnection
972 self.putheader('Content-Length', thelen)
988 self.putheader(hdr, value)
1069 self.putheader = conn.putheader
Durllib.py334 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('Authorization', 'Basic %s' % auth)
[all …]
Dxmlrpclib.py1392 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/
Dtest_xmlrpc.py698 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")
Dtest_httpservers.py242 self.con.putheader('Connection', 'close')
250 self.con.putheader('Connection', 'keep-alive')
Dtest_httplib.py97 conn.putheader('Content-length',42)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/
Dhandlers.py1047 h.putheader("Host", host)
1049 h.putheader("Content-type",
1051 h.putheader("Content-length", str(len(data)))