Module: @nginstack/engine/lib/http/Status

Members


<inner, constant> Status :number

Estados possíveis para uma resposta HTTP.

Type:
  • number
Properties:
Name Type Default Description
OK number 200
CREATED number 201
ACCEPTED number 202
NO_CONTENT number 204
RESET_CONTENT number 205
PARTIAL_CONTENT number 206
MOVED_PERMANENTLY number 301
FOUND number 302
SEE_OTHER number 303
NOT_MODIFIED number 304
TEMPORARY_REDIRECT number 307
PERMANENT_REDIRECT number 308
BAD_REQUEST number 400
UNAUTHORIZED number 401
FORBIDDEN number 403
NOT_FOUND number 404
METHOD_NOT_ALLOWED number 405
NOT_ACCEPTABLE number 406
REQUEST_TIMEOUT number 408
CONFLICT number 409
GONE number 410
LENGTH_REQUIRED number 411
PRECONDITION_FAILED number 412
REQUEST_ENTITY_TOO_LARGE number 413
UNSUPPORTED_MEDIA_TYPE number 415
UNPROCESSABLE_ENTITY number 422
INTERNAL_SERVER_ERROR number 500
NOT_IMPLEMENTED number 501
BAD_GATEWAY number 502
SERVICE_UNAVAILABLE number 503
GATEWAY_TIMEOUT number 504