mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-08-11 00:39:01 +08:00
Add status codes
This commit is contained in:
parent
c619e4e6eb
commit
915c0d20ae
@ -2978,6 +2978,9 @@ function express(port = 3000) {
|
|||||||
const STATUS_CODE_MAP = {
|
const STATUS_CODE_MAP = {
|
||||||
200: "HTTP/1.1 200 OK",
|
200: "HTTP/1.1 200 OK",
|
||||||
201: "HTTP/1.1 201 Created",
|
201: "HTTP/1.1 201 Created",
|
||||||
|
302: "HTTP/1.1 302 Found",
|
||||||
|
307: "HTTP/1.1 307 Temporary Redirect",
|
||||||
|
308: "HTTP/1.1 308 Permanent Redirect",
|
||||||
404: "HTTP/1.1 404 Not Found",
|
404: "HTTP/1.1 404 Not Found",
|
||||||
500: "HTTP/1.1 500 Internal Server Error",
|
500: "HTTP/1.1 500 Internal Server Error",
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user