MCPcopy Create free account
hub / github.com/datapane/datapane / get_header

Method get_header

python-client/src/datapane/_vendor/bottle.py:1194–1196  ·  view source on GitHub ↗

Return the value of a request header, or a given default value.

(self, name, default=None)

Source from the content-addressed store, hash-verified

1192 return WSGIHeaderDict(self.environ)
1193
1194 def get_header(self, name, default=None):
1195 """ Return the value of a request header, or a given default value. """
1196 return self.headers.get(name, default)
1197
1198 @DictProperty('environ', 'bottle.request.cookies', read_only=True)
1199 def cookies(self):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected