From 54eddbcf238e5b288cbd344019350da37c3f0256 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Fri, 17 Mar 2023 20:37:52 +0800 Subject: [PATCH] perf/change httpsig not veirfy status code --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 446ca3b..d656034 100644 --- a/app/main.py +++ b/app/main.py @@ -55,7 +55,7 @@ async def inbox( await save_incoming(db_session, payload) return Response(status_code=202) else: - return Response(status_code=401) + return Response(status_code=406) @app.get("/.well-known/webfinger") async def wellknown_webfinger(resource: str) -> JSONResponse: