Skip to content

Commit

Permalink
do not check content type for options since unused
Browse files Browse the repository at this point in the history
  • Loading branch information
willronchetti committed Aug 29, 2024
1 parent d8036a6 commit 03092f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dcicsnovault"
version = "11.21.1.0b4"
version = "11.21.1.0b5"
description = "Storage support for 4DN Data Portals."
authors = ["4DN-DCIC Team <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion snovault/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def validate_request_tween(request):
if 'X_REQUEST_METHOD' in environ:
environ['REQUEST_METHOD'] = environ['X_REQUEST_METHOD']

if request.method in ('GET', 'HEAD'):
if request.method in ('GET', 'HEAD', 'OPTIONS'):
# If GET request, don't need to check `request.content_type`
# Includes page text/html requests.
return handler(request)
Expand Down

0 comments on commit 03092f1

Please sign in to comment.