Warning

The v2 xDS API is not supported in Envoy v1.18.0 and above.

HTTP status codes

type.HttpStatus

[type.HttpStatus proto]

HTTP status.

{
  "code": "..."
}
code

(type.StatusCode) Supplies HTTP response code.

Enum type.StatusCode

[type.StatusCode proto]

HTTP response codes supported in Envoy. For more details: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml

Empty

(DEFAULT) ⁣Empty - This code not part of the HTTP status code specification, but it is needed for proto enum type.

Continue

OK

Created

Accepted

NonAuthoritativeInformation

NoContent

ResetContent

PartialContent

MultiStatus

AlreadyReported

IMUsed

MultipleChoices

MovedPermanently

Found

SeeOther

NotModified

UseProxy

TemporaryRedirect

PermanentRedirect

BadRequest

Unauthorized

PaymentRequired

Forbidden

NotFound

MethodNotAllowed

NotAcceptable

ProxyAuthenticationRequired

RequestTimeout

Conflict

Gone

LengthRequired

PreconditionFailed

PayloadTooLarge

URITooLong

UnsupportedMediaType

RangeNotSatisfiable

ExpectationFailed

MisdirectedRequest

UnprocessableEntity

Locked

FailedDependency

UpgradeRequired

PreconditionRequired

TooManyRequests

RequestHeaderFieldsTooLarge

InternalServerError

NotImplemented

BadGateway

ServiceUnavailable

GatewayTimeout

HTTPVersionNotSupported

VariantAlsoNegotiates

InsufficientStorage

LoopDetected

NotExtended

NetworkAuthenticationRequired