MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / request_headers

Method request_headers

pywebio/platform/adaptor/http.py:44–47  ·  view source on GitHub ↗

返回当前请求的header字典 Return the header dictionary of the current request

(self)

Source from the content-addressed store, hash-verified

42 pass
43
44 def request_headers(self) -> Dict:
45 """返回当前请求的header字典
46 Return the header dictionary of the current request"""
47 pass
48
49 def request_url_parameter(self, name, default=None) -> str:
50 """返回当前请求的URL参数

Callers 3

_process_corsMethod · 0.45
read_event_dataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected