MCPcopy
hub / github.com/pallets/flask / head

Method head

tests/test_views.py:160–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 return "GET"
159
160 def head(self):
161 return flask.Response("", headers={"X-Method": "HEAD"})
162
163 app.add_url_rule("/", view_func=Index.as_view("index"))
164 rv = client.get("/")

Callers 5

test_request_dispatchingFunction · 0.80
test_url_mappingFunction · 0.80
test_implicit_headFunction · 0.80
test_explicit_headFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected