-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: finialize for first beta release
- Loading branch information
1 parent
e1f43e2
commit 3341232
Showing
19 changed files
with
480 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import axios from 'axios' | ||
export async function run() { | ||
await axios('http://localhost:8000') | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,234 @@ | ||
export const HTTP_STATUSES = [ | ||
{ | ||
code: 202, | ||
pharse: 'Accepted', | ||
}, | ||
{ | ||
code: 502, | ||
pharse: 'Bad Gateway', | ||
}, | ||
{ | ||
code: 400, | ||
pharse: 'Bad Request', | ||
}, | ||
{ | ||
code: 409, | ||
pharse: 'Conflict', | ||
}, | ||
{ | ||
code: 100, | ||
pharse: 'Continue', | ||
}, | ||
{ | ||
code: 201, | ||
pharse: 'Created', | ||
}, | ||
{ | ||
code: 417, | ||
pharse: 'Expectation Failed', | ||
}, | ||
{ | ||
code: 424, | ||
pharse: 'Failed Dependency', | ||
}, | ||
{ | ||
code: 403, | ||
pharse: 'Forbidden', | ||
}, | ||
{ | ||
code: 504, | ||
pharse: 'Gateway Timeout', | ||
}, | ||
{ | ||
code: 410, | ||
pharse: 'Gone', | ||
}, | ||
{ | ||
code: 505, | ||
pharse: 'HTTP Version Not Supported', | ||
}, | ||
{ | ||
code: 418, | ||
pharse: "I'm a teapot", | ||
}, | ||
{ | ||
code: 419, | ||
pharse: 'Insufficient Space on Resource', | ||
}, | ||
{ | ||
code: 507, | ||
pharse: 'Insufficient Storage', | ||
}, | ||
{ | ||
code: 500, | ||
pharse: 'Internal Server Error', | ||
}, | ||
{ | ||
code: 411, | ||
pharse: 'Length Required', | ||
}, | ||
{ | ||
code: 423, | ||
pharse: 'Locked', | ||
}, | ||
{ | ||
code: 420, | ||
pharse: 'Method Failure', | ||
}, | ||
{ | ||
code: 405, | ||
pharse: 'Method Not Allowed', | ||
}, | ||
{ | ||
code: 301, | ||
pharse: 'Moved Permanently', | ||
}, | ||
{ | ||
code: 302, | ||
pharse: 'Moved Temporarily', | ||
}, | ||
{ | ||
code: 207, | ||
pharse: 'Multi-Status', | ||
}, | ||
{ | ||
code: 300, | ||
pharse: 'Multiple Choices', | ||
}, | ||
{ | ||
code: 511, | ||
pharse: 'Network Authentication Required', | ||
}, | ||
{ | ||
code: 204, | ||
pharse: 'No Content', | ||
}, | ||
{ | ||
code: 203, | ||
pharse: 'Non Authoritative Information', | ||
}, | ||
{ | ||
code: 406, | ||
pharse: 'Not Acceptable', | ||
}, | ||
{ | ||
code: 404, | ||
pharse: 'Not Found', | ||
}, | ||
{ | ||
code: 501, | ||
pharse: 'Not Implemented', | ||
}, | ||
{ | ||
code: 304, | ||
pharse: 'Not Modified', | ||
}, | ||
{ | ||
code: 200, | ||
pharse: 'OK', | ||
}, | ||
{ | ||
code: 206, | ||
pharse: 'Partial Content', | ||
}, | ||
{ | ||
code: 402, | ||
pharse: 'Payment Required', | ||
}, | ||
{ | ||
code: 308, | ||
pharse: 'Permanent Redirect', | ||
}, | ||
{ | ||
code: 412, | ||
pharse: 'Precondition Failed', | ||
}, | ||
{ | ||
code: 428, | ||
pharse: 'Precondition Required', | ||
}, | ||
{ | ||
code: 102, | ||
pharse: 'Processing', | ||
}, | ||
{ | ||
code: 103, | ||
pharse: 'Early Hints', | ||
}, | ||
{ | ||
code: 426, | ||
pharse: 'Upgrade Required', | ||
}, | ||
{ | ||
code: 407, | ||
pharse: 'Proxy Authentication Required', | ||
}, | ||
{ | ||
code: 431, | ||
pharse: 'Request Header Fields Too Large', | ||
}, | ||
{ | ||
code: 408, | ||
pharse: 'Request Timeout', | ||
}, | ||
{ | ||
code: 413, | ||
pharse: 'Request Entity Too Large', | ||
}, | ||
{ | ||
code: 414, | ||
pharse: 'Request-URI Too Long', | ||
}, | ||
{ | ||
code: 416, | ||
pharse: 'Requested Range Not Satisfiable', | ||
}, | ||
{ | ||
code: 205, | ||
pharse: 'Reset Content', | ||
}, | ||
{ | ||
code: 303, | ||
pharse: 'See Other', | ||
}, | ||
{ | ||
code: 503, | ||
pharse: 'Service Unavailable', | ||
}, | ||
{ | ||
code: 101, | ||
pharse: 'Switching Protocols', | ||
}, | ||
{ | ||
code: 307, | ||
pharse: 'Temporary Redirect', | ||
}, | ||
{ | ||
code: 429, | ||
pharse: 'Too Many Requests', | ||
}, | ||
{ | ||
code: 401, | ||
pharse: 'Unauthorized', | ||
}, | ||
{ | ||
code: 451, | ||
pharse: 'Unavailable For Legal Reasons', | ||
}, | ||
{ | ||
code: 422, | ||
pharse: 'Unprocessable Entity', | ||
}, | ||
{ | ||
code: 415, | ||
pharse: 'Unsupported Media Type', | ||
}, | ||
{ | ||
code: 305, | ||
pharse: 'Use Proxy', | ||
}, | ||
{ | ||
code: 421, | ||
pharse: 'Misdirected Request', | ||
}, | ||
] |
Oops, something went wrong.