Lines Matching refs:getheader
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'))
1730 content_type = resp.getheader('content-type')
1763 server_string = resp.getheader('server')
1992 header = self.resp.getheader('My-Header')
1995 header = self.resp.getheader('My-Header', 'some default')
1999 header = self.resp.getheader('No-Such-Header', 'default-value')
2003 header = self.resp.getheader('No-Such-Header', ['default', 'values'])
2006 header = self.resp.getheader('No-Such-Header', ('default', 'values'))
2010 header = self.resp.getheader('No-Such-Header')
2014 header = self.resp.getheader('No-Such-Header',default=42)