From e85f7dcf7755657af9c84d0623411952fd9ab0d3 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 1 May 2023 20:32:50 -0700 Subject: [PATCH] add pages for common errors --- HTTP400.html | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ HTTP401.html | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ HTTP403.html | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ HTTP404.html | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ HTTP500.html | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ HTTP501.html | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ HTTP502.html | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ HTTP503.html | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 536 insertions(+) create mode 100644 HTTP400.html create mode 100644 HTTP401.html create mode 100644 HTTP403.html create mode 100644 HTTP404.html create mode 100644 HTTP500.html create mode 100644 HTTP501.html create mode 100644 HTTP502.html create mode 100644 HTTP503.html diff --git a/HTTP400.html b/HTTP400.html new file mode 100644 index 0000000..e76805e --- /dev/null +++ b/HTTP400.html @@ -0,0 +1,67 @@ + + + + + + + + 400 - Bad Request + + + +
+

Bad Request 400

+

The server cannot process the request due to something that is perceived to be a client error.

+ +
+ + \ No newline at end of file diff --git a/HTTP401.html b/HTTP401.html new file mode 100644 index 0000000..ab30d12 --- /dev/null +++ b/HTTP401.html @@ -0,0 +1,67 @@ + + + + + + + + 401 - Unauthorized + + + +
+

Unauthorized 401

+

The requested resource requires authentication.

+ +
+ + \ No newline at end of file diff --git a/HTTP403.html b/HTTP403.html new file mode 100644 index 0000000..fd0444c --- /dev/null +++ b/HTTP403.html @@ -0,0 +1,67 @@ + + + + + + + + 403 - Forbidden + + + +
+

Forbidden 403

+

The requested resource requires higher permissions.

+ +
+ + \ No newline at end of file diff --git a/HTTP404.html b/HTTP404.html new file mode 100644 index 0000000..0d8eb61 --- /dev/null +++ b/HTTP404.html @@ -0,0 +1,67 @@ + + + + + + + + 404 - Not Found + + + +
+

Not Found 404

+

The requested resource could not be found.

+ +
+ + \ No newline at end of file diff --git a/HTTP500.html b/HTTP500.html new file mode 100644 index 0000000..18be6af --- /dev/null +++ b/HTTP500.html @@ -0,0 +1,67 @@ + + + + + + + + 500 - Internal Error + + + +
+

Internal Error 500

+

The server encountered an unexpected error.

+ +
+ + \ No newline at end of file diff --git a/HTTP501.html b/HTTP501.html new file mode 100644 index 0000000..93ba378 --- /dev/null +++ b/HTTP501.html @@ -0,0 +1,67 @@ + + + + + + + + 501 - Not Implemented + + + +
+

Not Implemented 501

+

The requested method is not supported by the server.

+ +
+ + \ No newline at end of file diff --git a/HTTP502.html b/HTTP502.html new file mode 100644 index 0000000..e9a4887 --- /dev/null +++ b/HTTP502.html @@ -0,0 +1,67 @@ + + + + + + + + 502 - Bad Gateway + + + +
+

Bad Gateway 502

+

The gateway encountered an error while connecting to the upstream server.

+ +
+ + \ No newline at end of file diff --git a/HTTP503.html b/HTTP503.html new file mode 100644 index 0000000..828ec15 --- /dev/null +++ b/HTTP503.html @@ -0,0 +1,67 @@ + + + + + + + + 503 - Service Unavailable + + + +
+

Service Unavailable 503

+

The server is unavailable and could not handle the request. The server may be under maintenance or is overloaded.

+ +
+ + \ No newline at end of file