/third_party/python/Lib/test/ |
D | test_httpservers.py | 219 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 …]
|
D | test_httplib.py | 291 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 …]
|
D | test_docxmlrpc.py | 93 self.assertEqual(response.getheader("Content-type"), "text/html") 103 self.assertEqual(response.getheader("Content-type"), "text/plain")
|
D | test_xmlrpc.py | 1166 self.response_length=int(response.getheader("content-length", 0))
|
/third_party/zlib/contrib/untgz/ |
D | untgz.c | 391 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/ |
D | transfer.h | 67 bool getheader, /* TRUE if header parsing is wanted */
|
D | transfer.c | 1866 bool getheader, /* TRUE if header parsing is wanted */ in Curl_setup_transfer() argument 1898 k->getheader = getheader; in Curl_setup_transfer() 1906 if(!k->getheader) { in Curl_setup_transfer() 1912 if(k->getheader || !data->req.no_body) { in Curl_setup_transfer()
|
D | urldata.h | 728 BIT(getheader); /* TRUE if header parsing is wanted */
|
/third_party/python/Lib/distutils/ |
D | config.py | 115 content_type = response.getheader('content-type', 'text/plain')
|
/third_party/python/Lib/distutils/tests/ |
D | test_upload.py | 57 def getheader(self, name, default=None): member in FakeOpen
|
D | test_register.py | 70 def getheader(self, name, default=None): member in FakeOpener
|
/third_party/python/Lib/xmlrpc/ |
D | client.py | 1194 if resp.getheader("content-length", ""): 1333 if response.getheader("Content-Encoding", "") == "gzip":
|
/third_party/python/Doc/library/ |
D | asynchat.rst | 202 clen = self.headers.getheader("content-length")
|
D | http.client.rst | 471 .. method:: HTTPResponse.getheader(name, default=None)
|
/third_party/python/Lib/http/ |
D | client.py | 714 def getheader(self, name, default=None): member in HTTPResponse
|
/third_party/python/Misc/ |
D | HISTORY | 29073 dictionaries (and make getheader() an alias for it). Also, be smarter
|