Home
last modified time | relevance | path

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

12345678910>>...17

/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/tests/
H A Dtest_gcs_json_media.py63 mock_conn.putheader.return_value = None
64 self.instance.putheader('content-encoding', 'gzip')
65 self.instance.putheader('content-length', '10')
73 mock_conn.putheader.return_value = None
74 self.instance.putheader('content-length', '10')
82 self.instance.putheader('content-encoding', 'gzip')
83 self.instance.putheader('content-length', '10')
91 self.instance.putheader('content-encoding', 'gzip')
92 self.instance.putheader('content-length', '10')
101 self.instance.putheader('content-length', '10')
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/tests/
H A Dtest_gcs_json_media.py63 mock_conn.putheader.return_value = None
64 self.instance.putheader('content-encoding', 'gzip')
65 self.instance.putheader('content-length', '10')
73 mock_conn.putheader.return_value = None
74 self.instance.putheader('content-length', '10')
82 self.instance.putheader('content-encoding', 'gzip')
83 self.instance.putheader('content-length', '10')
91 self.instance.putheader('content-encoding', 'gzip')
92 self.instance.putheader('content-length', '10')
101 self.instance.putheader('content-length', '10')
[all …]
/dports/mail/py-python-slimta/python-slimta-4.2.1/test/
H A Dtest_slimta_cloudstorage_rackspace_queues.py27 conn.putheader('Host', 'queues')
28 conn.putheader('Client-ID', 'test')
31 conn.putheader('Accept', 'application/json')
32 conn.putheader('X-Auth-Token', 'tokenid')
49 conn.putheader('Host', 'queues')
50 conn.putheader('Client-ID', 'test')
53 conn.putheader('Accept', 'application/json')
54 conn.putheader('X-Auth-Token', 'tokenid')
80 conn.putheader('Host', 'queues')
81 conn.putheader('Client-ID', 'test')
[all …]
H A Dtest_slimta_cloudstorage_rackspace_files.py34 conn.putheader('Host', 'files')
38 conn.putheader('X-Auth-Token', 'tokenid')
54 conn.putheader('Host', 'files')
55 conn.putheader('X-Auth-Token', 'tokenid')
73 conn.putheader('Host', 'files')
74 conn.putheader('X-Auth-Token', 'tokenid')
90 conn.putheader('Host', 'files')
91 conn.putheader('X-Auth-Token', 'tokenid')
117 conn.putheader('Host', 'files')
118 conn.putheader('X-Auth-Token', 'tokenid')
[all …]
H A Dtest_slimta_cloudstorage_rackspace_auth.py57 conn.putheader('Host', 'test')
58 conn.putheader('Content-Type', 'application/json')
59 conn.putheader('Content-Length', '83')
60 conn.putheader('Accept', 'application/json')
79 conn.putheader('Host', 'test')
80 conn.putheader('Content-Type', 'application/json')
81 conn.putheader('Content-Length', '88')
82 conn.putheader('Accept', 'application/json')
H A Dtest_slimta_relay_http.py64 conn.putheader(b'Content-Length', b'31')
65 conn.putheader(b'Content-Type', b'message/rfc822')
66 conn.putheader(b'X-Ehlo', b'test')
67 conn.putheader(b'X-Envelope-Sender', b'c2VuZGVyQGV4YW1wbGUuY29t')
68 conn.putheader(b'X-Envelope-Recipient', b'cmNwdDFAZXhhbXBsZS5jb20=')
69 conn.putheader(b'X-Envelope-Recipient', b'cmNwdDJAZXhhbXBsZS5jb20=')
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/cherrypy/test/
H A Dtest_conn.py327 conn.putheader('Host', self.HOST)
371 conn.putheader('Host', self.HOST)
401 conn.putheader('Host', self.HOST)
422 conn.putheader('Host', self.HOST)
466 conn.putheader('Host', self.HOST)
481 conn.putheader('Host', self.HOST)
637 conn.putheader('Host', self.HOST)
655 conn.putheader('Host', self.HOST)
673 conn.putheader('Host', self.HOST)
691 conn.putheader('Host', self.HOST)
[all …]
/dports/www/py-cherrypy/CherryPy-17.4.2/cherrypy/test/
H A Dtest_conn.py331 conn.putheader('Host', self.HOST)
376 conn.putheader('Host', self.HOST)
408 conn.putheader('Host', self.HOST)
429 conn.putheader('Host', self.HOST)
474 conn.putheader('Host', self.HOST)
489 conn.putheader('Host', self.HOST)
645 conn.putheader('Host', self.HOST)
663 conn.putheader('Host', self.HOST)
681 conn.putheader('Host', self.HOST)
699 conn.putheader('Host', self.HOST)
[all …]
/dports/www/py-werkzeug/Werkzeug-2.0.2/tests/
H A Dtest_serving.py178 conn.putheader("Transfer-Encoding", "chunked")
179 conn.putheader("Content-Type", f"multipart/form-data; boundary={boundary}")
186 conn.putheader("Content-Length", "invalid")
213 conn.putheader("XYZ", "a ") # trailing space is preserved
214 conn.putheader("X-Ignore-1", "ignore value")
215 conn.putheader("XYZ", " b") # leading space is collapsed
216 conn.putheader("X-Ignore-2", "ignore value")
217 conn.putheader("XYZ", "c ")
218 conn.putheader("X-Ignore-3", "ignore value")
219 conn.putheader("XYZ", "d")
[all …]
/dports/www/firefox/firefox-99.0/testing/web-platform/mozilla/tests/webdriver/bidi/
H A Dwebsocket_upgrade.py7 conn.putheader("Connection", "upgrade")
8 conn.putheader("Upgrade", "websocket")
9 conn.putheader("Sec-WebSocket-Key", "dGhlIHNhbXBsZSBub25jZQ==")
10 conn.putheader("Sec-WebSocket-Version", "13")
80 conn.putheader("Host", get_host())
108 conn.putheader("Origin", origin)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/logilab/logilab/common/
H A Dxmlrpcutils.py83 h.putheader("User-Agent", self.user_agent)
84 h.putheader("Content-Type", "text/xml")
85 h.putheader("Content-Length", str(len(request_body)))
86 h.putheader("Host", host)
87 h.putheader("Connection", "close")
90 h.putheader("AUTHORIZATION", "Basic %s" % encodestring(
/dports/www/moinmoin/moin-1.9.11/MoinMoin/support/
H A DBasicAuthTransport.py18 h.putheader("Host", host)
21 h.putheader("User-Agent", self.user_agent)
22 h.putheader("Content-Type", "text/xml")
23 h.putheader("Content-Length", str(len(request_body)))
28 h.putheader("Authorization", authhdr)
/dports/security/py-m2crypto/M2Crypto-0.38.0/src/M2Crypto/
H A Dm2xmlrpclib.py51 h.putheader("Host", _host)
54 h.putheader("User-Agent", self.user_agent)
55 h.putheader("Content-Type", "text/xml")
56 h.putheader("Content-Length", str(len(request_body)))
61 h.putheader('Authorization', 'Basic %s' % auth)
/dports/www/firefox/firefox-99.0/testing/web-platform/mozilla/tests/webdriver/new_session/
H A Ddebugger_address.py98 conn.putheader("Origin", origin)
100 conn.putheader("Connection", "upgrade")
101 conn.putheader("Upgrade", "websocket")
102 conn.putheader("Sec-WebSocket-Key", "dGhlIHNhbXBsZSBub25jZQ==")
103 conn.putheader("Sec-WebSocket-Version", "13")
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/cheroot/test/
H A Dtest_conn.py729 conn.putheader('Host', conn.host)
772 conn.putheader('Host', conn.host)
802 conn.putheader('Host', conn.host)
822 conn.putheader('Host', conn.host)
864 conn.putheader('Host', conn.host)
877 conn.putheader('Host', conn.host)
928 conn.putheader('Host', conn.host)
1042 conn.putheader('Host', conn.host)
1063 conn.putheader('Host', conn.host)
1087 conn.putheader('Host', conn.host)
[all …]
/dports/www/py-cheroot/cheroot-8.5.2/cheroot/test/
H A Dtest_conn.py729 conn.putheader('Host', conn.host)
772 conn.putheader('Host', conn.host)
802 conn.putheader('Host', conn.host)
822 conn.putheader('Host', conn.host)
864 conn.putheader('Host', conn.host)
877 conn.putheader('Host', conn.host)
928 conn.putheader('Host', conn.host)
1042 conn.putheader('Host', conn.host)
1063 conn.putheader('Host', conn.host)
1087 conn.putheader('Host', conn.host)
[all …]
/dports/net/py-eventlet/eventlet-0.33.0/eventlet/zipkin/
H A Dhttp.py23 self.putheader(HDR_TRACE_ID, hex_str(trace_data.trace_id))
24 self.putheader(HDR_SPAN_ID, hex_str(new_span_id))
25 self.putheader(HDR_PARENT_SPAN_ID, hex_str(trace_data.span_id))
26 self.putheader(HDR_SAMPLED, int(trace_data.sampled))
/dports/devel/py-logutils/logutils-0.3.5/logutils/
H A Dhttp.py74 h.putheader("Host", host)
76 h.putheader("Content-type",
78 h.putheader("Content-length", str(len(data)))
83 h.putheader('Authorization', s)
/dports/mail/imapsync/imapsync-1d08afa/W/tools/
H A Dhtml5check.py161 connection.putheader("User-Agent", 'html5check.py/2008-02-12')
162 connection.putheader("Accept-Encoding", 'gzip')
163 connection.putheader("Content-Type", contentType)
164 connection.putheader("Content-Encoding", 'gzip')
165 connection.putheader("Content-Length", len(gzippeddata))
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/thrift/lib/py/src/transport/
H A DTHttpClient.py162 self.__http.putheader('Content-Type', 'application/x-thrift')
163 self.__http.putheader('Content-Length', str(len(data)))
165 self.__http.putheader("Proxy-Authorization", self.proxy_auth)
172 self.__http.putheader('User-Agent', user_agent)
176 self.__http.putheader(key, val)
191 self.__http.putheader('Cookie', self.headers['Set-Cookie'])
/dports/devel/py-thrift/thrift-0.14.0/lib/py/src/transport/
H A DTHttpClient.py162 self.__http.putheader('Content-Type', 'application/x-thrift')
163 self.__http.putheader('Content-Length', str(len(data)))
165 self.__http.putheader("Proxy-Authorization", self.proxy_auth)
172 self.__http.putheader('User-Agent', user_agent)
176 self.__http.putheader(key, val)
191 self.__http.putheader('Cookie', self.headers['Set-Cookie'])
/dports/devel/thrift-c_glib/thrift-0.14.0/lib/py/src/transport/
H A DTHttpClient.py162 self.__http.putheader('Content-Type', 'application/x-thrift')
163 self.__http.putheader('Content-Length', str(len(data)))
165 self.__http.putheader("Proxy-Authorization", self.proxy_auth)
172 self.__http.putheader('User-Agent', user_agent)
176 self.__http.putheader(key, val)
191 self.__http.putheader('Cookie', self.headers['Set-Cookie'])
/dports/devel/thrift-cpp/thrift-0.14.0/lib/py/src/transport/
H A DTHttpClient.py162 self.__http.putheader('Content-Type', 'application/x-thrift')
163 self.__http.putheader('Content-Length', str(len(data)))
165 self.__http.putheader("Proxy-Authorization", self.proxy_auth)
172 self.__http.putheader('User-Agent', user_agent)
176 self.__http.putheader(key, val)
191 self.__http.putheader('Cookie', self.headers['Set-Cookie'])
/dports/devel/thrift/thrift-0.14.0/lib/py/src/transport/
H A DTHttpClient.py162 self.__http.putheader('Content-Type', 'application/x-thrift')
163 self.__http.putheader('Content-Length', str(len(data)))
165 self.__http.putheader("Proxy-Authorization", self.proxy_auth)
172 self.__http.putheader('User-Agent', user_agent)
176 self.__http.putheader(key, val)
191 self.__http.putheader('Cookie', self.headers['Set-Cookie'])
/dports/devel/node-thrift/thrift-0.14.0/lib/py/src/transport/
H A DTHttpClient.py162 self.__http.putheader('Content-Type', 'application/x-thrift')
163 self.__http.putheader('Content-Length', str(len(data)))
165 self.__http.putheader("Proxy-Authorization", self.proxy_auth)
172 self.__http.putheader('User-Agent', user_agent)
176 self.__http.putheader(key, val)
191 self.__http.putheader('Cookie', self.headers['Set-Cookie'])

12345678910>>...17