Searched defs:header_value (Results 1 - 10 of 10) sorted by relevance
/external/chromium-trace/catapult/third_party/Paste/paste/cowbell/ |
H A D | __init__.py | 5 from paste.response import header_value, remove_header namespace 22 ct = header_value(headers, 'content-type')
|
/external/chromium-trace/catapult/third_party/Paste/paste/debug/ |
H A D | wdg_validate.py | 10 from paste.response import header_value namespace 59 v = header_value(headers, 'content-type') or '' 76 str(header_value(headers, 'content-length'))))
|
/external/chromium-trace/catapult/third_party/Paste/tests/test_auth/ |
H A D | test_auth_cookie.py | 10 from paste.response import header_value namespace 26 assert not header_value(headers,'Set-Cookie') 32 value = header_value(headers,'Set-Cookie')
|
/external/chromium-trace/catapult/third_party/Paste/tests/test_exceptions/ |
H A D | test_httpexceptions.py | 11 from paste.response import header_value namespace 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/paste/ |
H A D | gzipper.py | 14 from paste.response import header_value, remove_header namespace 51 ct = header_value(headers,'content-type') 52 ce = header_value(headers,'content-encoding')
|
H A D | response.py | 98 def header_value(headers, name): function
|
H A D | wsgilib.py | 14 from paste.response import HeaderDict, has_header, header_value, remove_header namespace 27 'error_response', 'get_cookies', 'has_header', 'header_value', 449 content_type = header_value(headers, 'content-type') 501 content_type = header_value(headers, 'content-type') 522 lambda s, h: header_value(headers, 'content-type').startswith('text/html'),
|
H A D | httpexceptions.py | 79 from paste.response import has_header, header_value, replace_header namespace 244 header_value(headers, 'content-type') 325 location = header_value(headers,'location')
|
/external/libmicrohttpd/src/examples/ |
H A D | mhd2spdy_http.c | 175 const char *header_value; local 254 header_value = MHD_lookup_connection_value(connection, 258 && (NULL == header_value || 0 != strcmp ("0", header_value));
|
/external/libchrome/dbus/ |
H A D | message.cc | 28 const std::string& header_value, 30 if (!header_value.empty()) { 31 *output += header_name + ": " + header_value + "\n"; 38 uint32_t header_value, 40 if (header_value != 0) { 41 *output += (header_name + ": " + base::UintToString(header_value) + "\n"); 27 AppendStringHeader(const std::string& header_name, const std::string& header_value, std::string* output) argument 37 AppendUint32Header(const std::string& header_name, uint32_t header_value, std::string* output) argument
|
Completed in 151 milliseconds