Skip to content

Commit 7ac8dfe

Browse files
authored
Merge pull request #538 from aldbr/main_FEAT_add-response-headers
feat: expose Content-Range response header for diracx-web running locally
2 parents afc07ab + 63daa8d commit 7ac8dfe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

diracx-routers/src/diracx/routers/factory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ def create_app_inner(
321321
allow_credentials=True,
322322
allow_methods=["*"],
323323
allow_headers=["*"],
324+
expose_headers=["Content-Range"],
324325
)
325326

326327
configure_logger()

0 commit comments

Comments
 (0)