Home | History | Annotate | Download | only in paste

Lines Matching defs:header

310         for header, value in headers.items():
311 if header.lower() == 'content-type':
313 elif header.lower() == 'content-length':
316 var = 'HTTP_%s' % header.replace('-', '_').upper()
429 for header in res.all_headers('set-cookie'):
430 c = BaseCookie(header)
582 def header(self, name, default=NoDefault):
584 Returns the named header; an error if there is not exactly one
585 matching header (unless you give a default -- always an error
586 if there is more than one header)
592 "Ambiguous header: %s matches %r and %r"
598 "No header found: %r (from %s)"
623 location = self.header('location')