MCPcopy
hub / github.com/pallets/werkzeug / to_wsgi_list

Method to_wsgi_list

src/werkzeug/datastructures/headers.py:561–566  ·  view source on GitHub ↗

Convert the headers into a list suitable for WSGI. :return: list

(self)

Source from the content-addressed store, hash-verified

559 return self
560
561 def to_wsgi_list(self) -> list[tuple[str, str]]:
562 """Convert the headers into a list suitable for WSGI.
563
564 :return: list
565 """
566 return list(self)
567
568 def copy(self) -> te.Self:
569 return self.__class__(self._list)

Callers 10

__str__Method · 0.95
get_environMethod · 0.80
get_wsgi_responseMethod · 0.80
test_base_responseFunction · 0.80
test_secureMethod · 0.80
test_httponlyMethod · 0.80
test_samesiteMethod · 0.80
test_basic_interfaceMethod · 0.80
test_to_wsgi_listMethod · 0.80

Calls 1

listFunction · 0.50

Tested by 8

get_environMethod · 0.64
test_base_responseFunction · 0.64
test_secureMethod · 0.64
test_httponlyMethod · 0.64
test_samesiteMethod · 0.64
test_basic_interfaceMethod · 0.64
test_to_wsgi_listMethod · 0.64