Home
last modified time | relevance | path

Searched refs:getheader (Results 1 – 20 of 20) sorted by relevance

/third_party/python/Lib/test/
Dtest_httpservers.py219 self.assertEqual(res.getheader('Connection'), 'keep-alive')
237 self.assertTrue(int(res.getheader('Content-Length')))
244 self.assertEqual(res.getheader('X-Special'), 'Dängerous Mind')
254 self.assertEqual(int(res.getheader('Content-Length')), len(data))
265 self.assertEqual(None, res.getheader('Content-Length'))
266 self.assertEqual(None, res.getheader('Content-Type'))
268 self.assertEqual(None, res.getheader('Transfer-Encoding'))
283 self.assertTrue(int(res.getheader('Content-Length')) > 0)
284 self.assertIn('text/html', res.getheader('Content-Type'))
286 self.assertEqual(None, res.getheader('Content-Length'))
[all …]
Dtest_httplib.py291 self.assertEqual(resp.getheader('First'), 'val')
292 self.assertEqual(resp.getheader('Second'), 'val')
310 self.assertEqual(resp.getheader('Content-Length'), '0')
312 self.assertEqual(resp.getheader("!#$%&'*+-.^_`|~"), 'value')
315 self.assertEqual(resp.getheader('VCHAR'), vchar)
317 self.assertIsNotNone(resp.getheader('obs-text'))
319 for folded in (resp.getheader('obs-fold'), resp.msg['obs-fold']):
731 cookies = r.getheader("Set-Cookie")
1021 resp.getheader("www-authenticate"))
1719 self.assertIn('nginx', resp.getheader('server'))
[all …]
Dtest_docxmlrpc.py93 self.assertEqual(response.getheader("Content-type"), "text/html")
103 self.assertEqual(response.getheader("Content-type"), "text/plain")
Dtest_xmlrpc.py1156 self.response_length=int(response.getheader("content-length", 0))
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/contrib/untgz/
Duntgz.c391 int getheader = 1; in tar() local
420 if (getheader >= 1) in tar()
438 if (getheader == 1) in tar()
451 getheader = 1; in tar()
501 getheader = 0; in tar()
519 getheader = 2; in tar()
547 getheader = 1; in tar()
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/contrib/untgz/
Duntgz.c391 int getheader = 1; in tar() local
420 if (getheader >= 1) in tar()
438 if (getheader == 1) in tar()
451 getheader = 1; in tar()
501 getheader = 0; in tar()
519 getheader = 2; in tar()
547 getheader = 1; in tar()
/third_party/zlib/contrib/untgz/
Duntgz.c391 int getheader = 1; in tar() local
420 if (getheader >= 1) in tar()
438 if (getheader == 1) in tar()
451 getheader = 1; in tar()
501 getheader = 0; in tar()
519 getheader = 2; in tar()
547 getheader = 1; in tar()
/third_party/curl/lib/
Dtransfer.h65 bool getheader, /* TRUE if header parsing is wanted */
Dtransfer.c1927 bool getheader, /* TRUE if header parsing is wanted */ in Curl_setup_transfer() argument
1956 k->getheader = getheader; in Curl_setup_transfer()
1964 if(!k->getheader) { in Curl_setup_transfer()
1970 if(k->getheader || !data->set.opt_no_body) { in Curl_setup_transfer()
Durldata.h720 BIT(getheader); /* TRUE if header parsing is wanted */
/third_party/grpc/test/core/http/
Dtest_server.py54 content = self.rfile.read(int(self.headers.getheader('content-length')))
/third_party/json/benchmarks/thirdparty/benchmark/
Dmingw.py137 content = stream.getheader('Content-Disposition') or ''
139 content = stream.headers.getheader('Content-Disposition') or ''
/third_party/python/Lib/distutils/
Dconfig.py115 content_type = response.getheader('content-type', 'text/plain')
/third_party/python/Lib/distutils/tests/
Dtest_upload.py57 def getheader(self, name, default=None): member in FakeOpen
Dtest_register.py70 def getheader(self, name, default=None): member in FakeOpener
/third_party/python/Lib/xmlrpc/
Dclient.py1194 if resp.getheader("content-length", ""):
1333 if response.getheader("Content-Encoding", "") == "gzip":
/third_party/python/Doc/library/
Dasynchat.rst202 clen = self.headers.getheader("content-length")
Dhttp.client.rst471 .. method:: HTTPResponse.getheader(name, default=None)
/third_party/python/Lib/http/
Dclient.py714 def getheader(self, name, default=None): member in HTTPResponse
/third_party/python/Misc/
DHISTORY29073 dictionaries (and make getheader() an alias for it). Also, be smarter