Skip to content

Commit

Permalink
fix: typos (#371)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Kirsche <[email protected]>
  • Loading branch information
kkirsche and Kevin Kirsche authored Oct 23, 2024
1 parent 1225e78 commit eb44bff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion flask_cors/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def get_cors_origins(options, request_origin):
if wildcard:
# If wildcard is in the origins, even if 'send_wildcard' is False,
# simply send the wildcard. Unless supports_credentials is True,
# since that is forbidded by the spec..
# since that is forbidden by the spec..
# It is the most-likely to be correct thing to do (the only other
# option is to return nothing, which almost certainly not what
# the developer wants if the '*' origin was specified.
Expand Down
2 changes: 1 addition & 1 deletion flask_cors/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class CORS(object):
will be set with the value 'true' whenever the request header
`Access-Control-Request-Private-Network` has a value 'true'.
If False, the reponse header `Access-Control-Allow-Private-Network`
If False, the response header `Access-Control-Allow-Private-Network`
will be set with the value 'false' whenever the request header
`Access-Control-Request-Private-Network` has a value of 'true'.
Expand Down

0 comments on commit eb44bff

Please sign in to comment.