From 6a9b4d6558fd83557c0f634bd38ffb07c786a0a6 Mon Sep 17 00:00:00 2001 From: c01o Date: Mon, 16 Oct 2023 14:53:53 +0900 Subject: [PATCH] Fix typo --- examples/httpserver_authentication_handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/httpserver_authentication_handlers.py b/examples/httpserver_authentication_handlers.py index d1bae2e..988c241 100644 --- a/examples/httpserver_authentication_handlers.py +++ b/examples/httpserver_authentication_handlers.py @@ -5,7 +5,7 @@ import socketpool import wifi -from adafruit_httpserver import Server, Request, Response, UNATUHORIZED_401 +from adafruit_httpserver import Server, Request, Response, UNAUTHORIZED_401 from adafruit_httpserver.authentication import ( AuthenticationError, Basic, @@ -67,7 +67,7 @@ def require_authentication_or_manually_handle(request: Request): request, body="Not authenticated - Manually handled", content_type="text/plain", - status=UNATUHORIZED_401, + status=UNAUTHORIZED_401, )