Home
last modified time | relevance | path

Searched refs:header_value (Results 1 – 17 of 17) sorted by relevance

/external/chromium-trace/catapult/third_party/Paste/tests/test_exceptions/
Dtest_httpexceptions.py11 from paste.response import header_value
73 assert "text/html; charset=utf8" == header_value(saved[0][1], 'content-type')
75 assert "text/html" == header_value(saved[0][1], 'content-type')
76 assert "/bing/foo" == header_value(saved[0][1],'location')
78 assert "text/plain; charset=utf8" == header_value(saved[1][1],'content-type')
79 assert "/bing/foo" == header_value(saved[1][1],'location')
/external/chromium-trace/catapult/third_party/Paste/tests/test_auth/
Dtest_auth_cookie.py10 from paste.response import header_value
26 assert not header_value(headers,'Set-Cookie')
32 value = header_value(headers,'Set-Cookie')
/external/chromium-trace/catapult/third_party/WebOb/webob/
Dacceptparse.py38 def __init__(self, header_value): argument
39 self.header_value = header_value
40 self._parsed = list(self.parse(header_value))
87 other = other.header_value
100 my_value = self.header_value
Dresponse.py861 self._cache_control_obj.header_value = value
862 if self._cache_control_obj.header_value != value:
866 self._cache_control_obj.header_value = value
/external/autotest/frontend/tko/
Dcsv_encoder.py60 def _header_string(self, header_value): argument
61 return '/'.join(header_value)
83 first_line = [''] + [self._header_string(header_value)
84 for header_value in column_headers]
Dtko_rpc_utils.py192 group_dict['header_indices'] = [index_map[header_value]
193 for index_map, header_value
/external/chromium-trace/catapult/third_party/Paste/paste/debug/
Dwdg_validate.py10 from paste.response import header_value
59 v = header_value(headers, 'content-type') or ''
76 str(header_value(headers, 'content-length'))))
Dprints.py115 content_type = response.header_value(headers, 'content-type')
Dprofile.py71 content_type = response.header_value(headers, 'content-type')
/external/chromium-trace/catapult/third_party/Paste/paste/
Dgzipper.py14 from paste.response import header_value, remove_header
51 ct = header_value(headers,'content-type')
52 ce = header_value(headers,'content-encoding')
Dhttpexceptions.py79 from paste.response import has_header, header_value, replace_header
244 header_value(headers, 'content-type')
325 location = header_value(headers,'location')
Dresponse.py98 def header_value(headers, name): function
Dwsgilib.py14 from paste.response import HeaderDict, has_header, header_value, remove_header
/external/chromium-trace/catapult/third_party/Paste/paste/cowbell/
D__init__.py5 from paste.response import header_value, remove_header
22 ct = header_value(headers, 'content-type')
/external/libmicrohttpd/src/examples/
Dmhd2spdy_http.c175 const char *header_value; in http_cb_request() local
254 header_value = MHD_lookup_connection_value(connection, in http_cb_request()
258 && (NULL == header_value || 0 != strcmp ("0", header_value)); in http_cb_request()
/external/chromium-trace/catapult/third_party/Paste/docs/modules/
Dresponse.txt11 .. autofunction:: header_value
/external/libchrome/dbus/
Dmessage.cc28 const std::string& header_value, in AppendStringHeader() argument
30 if (!header_value.empty()) { in AppendStringHeader()
31 *output += header_name + ": " + header_value + "\n"; in AppendStringHeader()
38 uint32_t header_value, in AppendUint32Header() argument
40 if (header_value != 0) { in AppendUint32Header()
41 *output += (header_name + ": " + base::UintToString(header_value) + "\n"); in AppendUint32Header()