summaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.py')
-rwxr-xr-xsrc/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.py b/src/main.py
index aa3b133..a65971d 100755
--- a/src/main.py
+++ b/src/main.py
@@ -24,6 +24,7 @@ app.add_middleware(
expose_headers=["X-Total-Count"],
)
+
@app.middleware("http")
async def mock_x_total_count_header(request: Request, call_next):
response = await call_next(request)