Mercurial Hosting > luan
diff src/goodjava/webserver/Status.java @ 1608:f7e3adae4907
add BasicAuthHandler
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 01 May 2021 19:52:56 -0600 |
parents | 8a7519dee55c |
children |
line wrap: on
line diff
--- a/src/goodjava/webserver/Status.java Fri Apr 30 20:23:28 2021 -0600 +++ b/src/goodjava/webserver/Status.java Sat May 01 19:52:56 2021 -0600 @@ -39,6 +39,7 @@ public static final Status FOUND = newStatus(302,"Found"); public static final Status NOT_MODIFIED = newStatus(304,"Not Modified"); public static final Status BAD_REQUEST = newStatus(400,"Bad Request"); + public static final Status UNAUTHORIZED = newStatus(401,"Unauthorized"); public static final Status NOT_FOUND = newStatus(404,"Not Found"); public static final Status INTERNAL_SERVER_ERROR = newStatus(500,"Internal Server Error"); }