MCPcopy
hub / github.com/cherrypy/cherrypy / elements

Method elements

cherrypy/lib/httputil.py:433–435  ·  view source on GitHub ↗

Return a sorted list of HeaderElements for the given header.

(self, key)

Source from the content-addressed store, hash-verified

431 use_rfc_2047 = True
432
433 def elements(self, key):
434 """Return a sorted list of HeaderElements for the given header."""
435 return header_elements(self.transform_key(key), self.get(key))
436
437 def values(self, key):
438 """Return a sorted list of HeaderElement.value for the given header."""

Callers 12

valuesMethod · 0.95
__init__Method · 0.80
__call__Method · 0.80
gzipFunction · 0.80
validate_etagsFunction · 0.80
acceptFunction · 0.80
set_response_headerFunction · 0.80
putMethod · 0.80
getFunction · 0.80
expectation_failedMethod · 0.80
get_elementsMethod · 0.80

Calls 3

header_elementsFunction · 0.85
transform_keyMethod · 0.45
getMethod · 0.45

Tested by 2

expectation_failedMethod · 0.64
get_elementsMethod · 0.64