EHttpResponseCodes::Type

Response codes that can come back from an Http request

Windows
MacOS
Linux

References

Module

HTTP

Header

/Engine/Source/Runtime/Online/HTTP/Public/Interfaces/IHttpResponse.h

Include

#include "Interfaces/IHttpResponse.h"

Syntax

namespace EHttpResponseCodes
{
    enum Type
    {
        Unknown             = 0,
        Continue            = 100,
        SwitchProtocol      = 101,
        Ok                  = 200,
        Created             = 201,
        Accepted            = 202,
        Partial             = 203,
        NoContent           = 204,
        ResetContent        = 205,
        PartialContent      = 206,
        Ambiguous           = 300,
        Moved               = 301,
        Redirect            = 302,
        RedirectMethod      = 303,
        NotModified         = 304,
        UseProxy            = 305,
        RedirectKeepVerb    = 307,
        BadRequest          = 400,
        Denied              = 401,
        PaymentReq          = 402,
        Forbidden           = 403,
        NotFound            = 404,
        BadMethod           = 405,
        NoneAcceptable      = 406,
        ProxyAuthReq        = 407,
        RequestTimeout      = 408,
        Conflict            = 409,
        Gone                = 410,
        LengthRequired      = 411,
        PrecondFailed       = 412,
        RequestTooLarge     = 413,
        UriTooLong          = 414,
        UnsupportedMedia    = 415,
        TooManyRequests     = 429,
        RetryWith           = 449,
        ServerError         = 500,
        NotSupported        = 501,
        BadGateway          = 502,
        ServiceUnavail      = 503,
        GatewayTimeout      = 504,
        VersionNotSup       = 505,
    }
}

Values

Name

Description

Unknown

Status code not set yet

Continue

The request can be continued.

SwitchProtocol

The server has switched protocols in an upgrade header.

Ok

The request completed successfully.

Created

The request has been fulfilled and resulted in the creation of a new resource.

Accepted

The request has been accepted for processing, but the processing has not been completed.

Partial

The returned meta information in the entity-header is not the definitive set available from the origin server.

NoContent

The server has fulfilled the request, but there is no new information to send back.

ResetContent

The request has been completed, and the client program should reset the document view that caused the request to be sent to allow the user to easily initiate another input action.

PartialContent

The server has fulfilled the partial get request for the resource.

Ambiguous

The server couldn't decide what to return.

Moved

The requested resource has been assigned to a new permanent uri (uniform resource identifier), and any future references to this resource should be done using one of the returned uris.

Redirect

The requested resource resides temporarily under a different uri (uniform resource identifier).

RedirectMethod

The response to the request can be found under a different uri (uniform resource identifier) and should be retrieved using a get http verb on that resource.

NotModified

The requested resource has not been modified.

UseProxy

The requested resource must be accessed through the proxy given by the location field.

RedirectKeepVerb

The redirected request keeps the same http verb. http/1.1 behavior.

BadRequest

The request could not be processed by the server due to invalid syntax.

Denied

The requested resource requires user authentication.

PaymentReq

Not currently implemented in the http protocol.

Forbidden

The server understood the request, but is refusing to fulfill it.

NotFound

The server has not found anything matching the requested uri (uniform resource identifier).

BadMethod

The http verb used is not allowed.

NoneAcceptable

No responses acceptable to the client were found.

ProxyAuthReq

Proxy authentication required.

RequestTimeout

The server timed out waiting for the request.

Conflict

The request could not be completed due to a conflict with the current state of the resource. the user should resubmit with more information.

Gone

The requested resource is no longer available at the server, and no forwarding address is known.

LengthRequired

The server refuses to accept the request without a defined content length.

PrecondFailed

The precondition given in one or more of the request header fields evaluated to false when it was tested on the server.

RequestTooLarge

The server is refusing to process a request because the request entity is larger than the server is willing or able to process.

UriTooLong

The server is refusing to service the request because the request uri (uniform resource identifier) is longer than the server is willing to interpret.

UnsupportedMedia

The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.

TooManyRequests

Too many requests, the server is throttling

RetryWith

The request should be retried after doing the appropriate action.

ServerError

The server encountered an unexpected condition that prevented it from fulfilling the request.

NotSupported

The server does not support the functionality required to fulfill the request.

BadGateway

The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.

ServiceUnavail

The service is temporarily overloaded.

GatewayTimeout

The request was timed out waiting for a gateway.

VersionNotSup

The server does not support, or refuses to support, the http protocol version that was used in the request message.

Remarks

Response codes that can come back from an Http request

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss