Skip to content

Instantly share code, notes, and snippets.

@kevinjie
Created April 8, 2020 01:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevinjie/d1b79ff69282a428cc0bdb3142a384c5 to your computer and use it in GitHub Desktop.
Save kevinjie/d1b79ff69282a428cc0bdb3142a384c5 to your computer and use it in GitHub Desktop.
[HTTP_STATUS] 常见HTTP状态 #HTTP
export const HTTP_STATUS = {
SUCCESS: 200,
CREATED: 201,
ACCEPTED: 202,
CLIENT_ERROR: 400,
AUTHENTICATE: 401,
FORBIDDEN: 403,
NOT_FOUND: 404,
SERVER_ERROR: 500,
BAD_GATEWAY: 502,
SERVICE_UNAVAILABLE: 503,
GATEWAY_TIMEOUT: 504
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment