Searched refs:replace_header (Results 1 - 4 of 4) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/Paste/tests/
H A Dtest_response.py6 replace_header(h, 'content-length', '10')
8 replace_header(h, 'Content-Type', 'text/html')
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
H A Dhttpexceptions.py79 from paste.response import has_header, header_value, replace_header namespace
236 replace_header(headers, 'content-type', 'text/html')
239 replace_header(headers, 'content-type', 'text/plain')
246 replace_header(
H A Derrordocument.py17 from paste.response import replace_header namespace
77 replace_header(self.headers, header, value)
H A Dresponse.py139 def replace_header(headers, name, value): function

Completed in 153 milliseconds