Searched refs:add_header (Results 1 – 11 of 11) sorted by relevance
163 rsp.headers.add_header('Content-Disposition', 'attachment',169 rsp.headers.add_header('Content-Disposition', 'attachment',175 rsp.headers.add_header('Set-Cookie', '', foo='')179 rsp.headers.add_header('Set-Cookie', '', foo=';')234 h.add_header('foo','bar',baz="spam")238 h.add_header('Foo','bar',cheese=None)
39 self.response.headers.add_header('Access-Control-Allow-Origin', '*')
56 self.response.headers.add_header('Access-Control-Allow-Origin', '*')
106 msg.add_header('Content-Disposition', 'attachment', filename=os.path.basename(path))
167 req.add_header("Host", self.host_override)169 req.add_header(key, value)324 req.add_header("Content-Type", content_type)
228 req.add_header("Host", self.host_override)230 req.add_header(key, value)396 req.add_header("Content-Type", content_type)399 req.add_header(header, value)
2475 req.add_header("Content-Type", content_type)2803 req.add_header("Host", self.host_override)2805 req.add_header(key, value)2955 req.add_header("Content-Type", content_type)
922 mime_con.add_header('Content-Disposition', 'attachment', filename=name)
302 def add_header(self, _name, _value, **_params): member in ResponseHeaders
117 additional_http_headers = dict(x.split('=', 1) for x in FLAGS.add_header)