/external/python/cpython2/Lib/test/ |
D | test_httpservers.py | 272 self.assertEqual(res.getheader('Connection'), 'keep-alive') 292 self.assertEqual(None, res.getheader('Content-Length')) 293 self.assertEqual(None, res.getheader('Content-Type')) 295 self.assertEqual(None, res.getheader('Transfer-Encoding')) 307 self.assertEqual(None, res.getheader('Content-Length')) 308 self.assertIn('text/html', res.getheader('Content-Type')) 310 self.assertEqual(None, res.getheader('Content-Length')) 311 self.assertEqual(None, res.getheader('Content-Type')) 313 self.assertEqual(None, res.getheader('Transfer-Encoding')) 369 self.assertEqual(response.getheader("Location"), [all …]
|
D | test_httplib.py | 241 self.assertEqual(resp.getheader('First'), 'val') 242 self.assertEqual(resp.getheader('Second'), 'val') 258 self.assertIsNotNone(resp.getheader('Public-Key-Pins')) 259 self.assertEqual(resp.getheader('Transfer-Encoding'), 'chunked') 271 self.assertEqual(resp.getheader('Transfer-Encoding'), 'chunked') 292 self.assertEqual(resp.getheader('Transfer-Encoding'), 'chunked') 318 self.assertIsNotNone(resp.getheader('Name')) 319 self.assertEqual(resp.getheader('Transfer-Encoding'), 'chunked') 348 self.assertEqual(resp.getheader('Content-Length'), '0') 349 self.assertEqual(resp.getheader("!#$%&'*+-.^_`|~"), 'value') [all …]
|
D | test_docxmlrpc.py | 83 self.assertEqual(response.getheader("Content-type"), "text/html") 93 self.assertEqual(response.getheader("Content-type"), "text/plain")
|
D | test_rfc822.py | 254 eq(msg.getheader('First'), 'val') 255 eq(msg.getheader('Second'), 'val2')
|
D | test_mhlib.py | 323 eq(msg.getheader('From'), "Mrs. Premise") 324 eq(msg.getheader('To'), "Mrs. Conclusion")
|
/external/python/cpython3/Lib/test/ |
D | test_httpservers.py | 215 self.assertEqual(res.getheader('Connection'), 'keep-alive') 233 self.assertTrue(int(res.getheader('Content-Length'))) 240 self.assertEqual(res.getheader('X-Special'), 'Dängerous Mind') 250 self.assertEqual(int(res.getheader('Content-Length')), len(data)) 261 self.assertEqual(None, res.getheader('Content-Length')) 262 self.assertEqual(None, res.getheader('Content-Type')) 264 self.assertEqual(None, res.getheader('Transfer-Encoding')) 279 self.assertTrue(int(res.getheader('Content-Length')) > 0) 280 self.assertIn('text/html', res.getheader('Content-Type')) 282 self.assertEqual(None, res.getheader('Content-Length')) [all …]
|
D | test_httplib.py | 284 self.assertEqual(resp.getheader('First'), 'val') 285 self.assertEqual(resp.getheader('Second'), 'val') 303 self.assertEqual(resp.getheader('Content-Length'), '0') 305 self.assertEqual(resp.getheader("!#$%&'*+-.^_`|~"), 'value') 308 self.assertEqual(resp.getheader('VCHAR'), vchar) 310 self.assertIsNotNone(resp.getheader('obs-text')) 312 for folded in (resp.getheader('obs-fold'), resp.msg['obs-fold']): 669 cookies = r.getheader("Set-Cookie") 959 resp.getheader("www-authenticate")) 1603 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")
|
/external/zlib/src/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()
|
/external/python/cpython2/Lib/ |
D | CGIHTTPServer.py | 172 authorization = self.headers.getheader("authorization") 192 length = self.headers.getheader('content-length') 195 referer = self.headers.getheader('referer') 205 ua = self.headers.getheader('user-agent')
|
D | httplib.py | 479 tr_enc = self.msg.getheader('transfer-encoding') 491 length = self.msg.getheader('content-length') 518 conn = self.msg.getheader('connection') 522 conn = self.msg.getheader('connection') 531 if self.msg.getheader('keep-alive'): 540 pconn = self.msg.getheader('proxy-connection') 698 def getheader(self, name, default=None): member in HTTPResponse 701 return self.msg.getheader(name, default)
|
D | mimetools.py | 27 self.getheader('content-transfer-encoding') 29 self.getheader('content-type')
|
D | rfc822.py | 290 def getheader(self, name, default=None): member in Message 298 get = getheader 990 print 'Subject:', m.getheader('subject') 991 print 'Date:', m.getheader('date')
|
D | smtpd.py | 434 if not msg.getheader('from'): 436 if not msg.getheader('date'):
|
/external/curl/lib/ |
D | transfer.h | 65 bool getheader, /* TRUE if header parsing is wanted */
|
D | transfer.c | 1877 bool getheader, /* TRUE if header parsing is wanted */ in Curl_setup_transfer() argument 1900 k->getheader = getheader; in Curl_setup_transfer() 1908 if(!k->getheader) { in Curl_setup_transfer() 1914 if(k->getheader || !data->set.opt_no_body) { in Curl_setup_transfer()
|
/external/python/cpython2/Doc/library/ |
D | rfc822.rst | 200 .. method:: Message.getheader(name[, default]) 212 An alias for :meth:`getheader`, to make the interface more compatible with 219 ``getheader(name)``. If no header matching *name* exists, return ``(None, 243 Retrieve a header using :meth:`getheader` and parse it into a 9-tuple compatible 255 Retrieve a header using :meth:`getheader` and parse it into a 10-tuple; the 262 particular: ``m[name]`` is like ``m.getheader(name)`` but raises :exc:`KeyError`
|
/external/grpc-grpc/test/core/http/ |
D | test_server.py | 49 content = self.rfile.read(int(self.headers.getheader('content-length')))
|
/external/python/cpython2/Tools/versioncheck/ |
D | pyversioncheck.py | 57 newversion = msg.getheader('current-version')
|
/external/google-benchmark/ |
D | mingw.py | 137 content = stream.getheader('Content-Disposition') or '' 139 content = stream.headers.getheader('Content-Disposition') or ''
|
/external/libcxx/utils/google-benchmark/ |
D | mingw.py | 137 content = stream.getheader('Content-Disposition') or '' 139 content = stream.headers.getheader('Content-Disposition') or ''
|
/external/python/cpython3/Lib/distutils/ |
D | config.py | 115 content_type = response.getheader('content-type', 'text/plain')
|
/external/python/cpython2/Demo/scripts/ |
D | mboxconvert.py | 92 'Unparseable date: %r\n' % (m.getheader('Date'),))
|
/external/owasp/sanitizer/tools/ |
D | googlecode_upload.py | 104 location = resp.getheader('Location', None)
|
/external/python/cpython2/Lib/wsgiref/ |
D | simple_server.py | 95 length = self.headers.getheader('content-length')
|