We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91f9744 commit bcdf622Copy full SHA for bcdf622
tests/functional/event_handler/test_api_gateway.py
@@ -363,7 +363,7 @@ def test_custom_cors_config():
363
def get_with_cors():
364
return {}
365
366
- @app.get("/another-one")
+ @app.get("/another-one", cors=False)
367
def another_one():
368
369
@@ -434,7 +434,7 @@ def foo_cors():
434
def foo_delete_cors():
435
...
436
437
- @app.post("/foo")
+ @app.post("/foo", cors=False)
438
def post_no_cors():
439
440
0 commit comments