From 3b8db0b5f7b955859c88eec5c5bef824dddc7746 Mon Sep 17 00:00:00 2001 From: Donkie Date: Thu, 7 Sep 2023 21:50:26 +0200 Subject: [PATCH] Expose X-Total-Count header --- spoolman/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spoolman/main.py b/spoolman/main.py index 1e16948..b04dac4 100644 --- a/spoolman/main.py +++ b/spoolman/main.py @@ -56,6 +56,7 @@ if env.is_debug_mode(): allow_credentials=True, allow_methods=["*"], allow_headers=["*"], + expose_headers=["X-Total-Count"], )