Skip to content

Commit 510bccf

Browse files
author
Martin Zihlmann
committed
flask by default does not enable POST
1 parent 5030bc1 commit 510bccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_ext_flask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def delete(self):
124124
assert "delete" not in paths["/hi"]
125125

126126
def test_integration_with_docstring_introspection(self, app, spec):
127-
@app.route("/hello")
127+
@app.route("/hello", methods=["GET", "POST"])
128128
def hello():
129129
"""A greeting endpoint.
130130

0 commit comments

Comments
 (0)