Mercurial Hosting > luan
diff src/luan/webserver/Status.java @ 1194:bd0420fb3dd0
handle ParseException in webserver
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 26 Feb 2018 16:29:07 -0700 |
parents | 4beabb087be6 |
children | 8b61c8c4e07a |
line wrap: on
line diff
--- a/src/luan/webserver/Status.java Mon Feb 26 15:43:32 2018 -0700 +++ b/src/luan/webserver/Status.java Mon Feb 26 16:29:07 2018 -0700 @@ -37,6 +37,7 @@ public static final Status OK = newStatus(200,"OK"); public static final Status MOVED_PERMANENTLY = newStatus(301,"Moved Permanently"); public static final Status FOUND = newStatus(302,"Found"); + public static final Status BAD_REQUEST = newStatus(400,"Bad Request"); public static final Status NOT_FOUND = newStatus(404,"Not Found"); public static final Status INTERNAL_SERVER_ERROR = newStatus(500,"Internal Server Error"); }