Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Commit 8746690

Browse files
committed
Change to correct HTTP error in authentication.
1 parent 220015b commit 8746690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift_upload_runner/auth.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ async def handle_validate_authentication(
9595
validity = request.query["valid"]
9696
path = request.url.path
9797
except KeyError:
98-
raise aiohttp.web.HTTPClientError(
98+
raise aiohttp.web.HTTPUnauthorized(
9999
reason="Query string missing validity or signature."
100100
)
101101

0 commit comments

Comments
 (0)