@qingfu/core-env

0.3.6 • Public • Published

core-env

Protocol

200 OK: 请求成功
201 Created: 请求成功并创建了新资源
202 Accepted: 已接受请求但尚未处理
204 No Content: 请求成功但不返回内容
206 Partial Content: 断点续传或分段下载

300 Multiple Choices: 重定向
301 Moved Permanently: 永久重定向
302 Found: 临时重定向
304 Not Modified: 未曾修改可继续使用缓存

400 Bad Request: 客户端错误
401 Unauthorized: 需要用户验证
402 Payment Required: 需要支付
403 Forbidden: 拒绝执行
404 Not Found: 目标不存在
405 Method Not Allowed: 请求方法不被支持
406 Not Acceptable: 内容特性无法满足请求头条件
408 Request Timeout: 请求超时
409 Conflict: 资源和当前状态产生冲突
410 Gone: 资源在服务器不再可用
412 Precondition Failed: 无法满足请求头中的先决条件
413 Payload Too Large: 请求实体太大
414 URI Too Long: 请求地址太长
415 Unsupported Media Type: 服务器不支持该格式
416 Range Not Satisfiable: 请求范围不被满足
418 I'm a teapot: 常用作彩蛋
422 Unprocessable Entity: 格式良好但语义错误
423 Locked: 资源已被锁定
428 Precondition Required: 要求满足条件以免写冲突
429 Too Many Requests: 请求次数太多
451 Unavailable For Legal Reasons: 法律要求被拒绝

500 Internal Server Error: 服务器错误
501 Not Implemented: 服务器不支持该功能
502 Bad Gateway: 上游服务器无效响应
503 Service Unavailable: 服务不可用
504 Gateway Timeout: 上游服务器响应超时
506 Variant Also Negotiates: 服务器配置错误
507 Insufficient Storage: 服务器无法存储内容

Globals

_ https://github.com/lodash/lodash

ms https://github.com/zeit/ms

glob https://github.com/isaacs/node-glob

logger https://github.com/winstonjs/winston

router https://github.com/ZijianHe/koa-router

jwtoken https://github.com/auth0/node-jsonwebtoken

broker https://moleculer.services

Queue https://github.com/OptimalBits/bull

mongoose https://github.com/Automattic/mongoose

Readme

Keywords

none

Package Sidebar

Install

npm i @qingfu/core-env

Weekly Downloads

1

Version

0.3.6

License

none

Unpacked Size

47.8 kB

Total Files

14

Last publish

Collaborators

  • qingfu