OpenReplay Logo
12k
12k

Códigos de status HTTP

Todos os códigos de status HTTP (1xx–5xx) com seu nome e significado — pesquisável, com links diretos por âncora e ideal para desenvolvedores. Uma referência rápida da OpenReplay.

Referência estática — nada é enviado a lugar nenhum

Clique em um código para copiar seu link de âncora

1xx — Informational

The request was received and the process is continuing.

100 Continue

The client should continue with its request; the initial part was received.

101 Switching Protocols

The server is switching protocols as requested by the client (e.g. to WebSocket).

102 Processing

The server has accepted the request but has not yet completed it (WebDAV).

103 Early Hints

Returns preliminary headers (e.g. Link) so the client can begin preloading.

2xx — Success

The request was successfully received, understood and accepted.

200 OK

Standard success response; the meaning depends on the HTTP method used.

201 Created

The request succeeded and a new resource was created.

202 Accepted

The request was accepted for processing but is not yet complete.

203 Non-Authoritative Information

Returned metadata came from a copy, not the origin server.

204 No Content

The request succeeded but there is no body to return.

205 Reset Content

Success; the client should reset the document view that sent the request.

206 Partial Content

The server is delivering only part of the resource due to a Range header.

207 Multi-Status

Conveys multiple independent status codes for a WebDAV request.

208 Already Reported

Members of a WebDAV binding were already enumerated and are not repeated.

226 IM Used

The response is the result of instance manipulations applied to the resource.

3xx — Redirection

Further action is needed to complete the request.

300 Multiple Choices

The request has more than one possible response; the client should choose.

301 Moved Permanently

The resource moved permanently to a new URL; update links to it.

302 Found

The resource is temporarily at a different URL; keep using the original.

303 See Other

Fetch the resource at another URI with a GET request.

304 Not Modified

The cached version is still valid; the client can reuse it.

307 Temporary Redirect

Like 302 but the method and body must not change on the redirect.

308 Permanent Redirect

Like 301 but the method and body must not change on the redirect.

4xx — Client error

The request contains bad syntax or cannot be fulfilled.

400 Bad Request

The server cannot process the request due to a client error (malformed syntax).

401 Unauthorized

Authentication is required and has failed or not been provided.

402 Payment Required

Reserved for future use; sometimes used by APIs for rate or quota limits.

403 Forbidden

The server understood the request but refuses to authorize it.

404 Not Found

The server cannot find the requested resource.

405 Method Not Allowed

The HTTP method is not supported for the target resource.

406 Not Acceptable

No representation matches the request’s Accept headers.

407 Proxy Authentication Required

The client must authenticate with a proxy first.

408 Request Timeout

The server timed out waiting for the request.

409 Conflict

The request conflicts with the current state of the resource.

410 Gone

The resource is permanently gone and no forwarding address is known.

411 Length Required

The request must include a Content-Length header.

412 Precondition Failed

A precondition in the request headers evaluated to false.

413 Payload Too Large

The request body is larger than the server is willing to process.

414 URI Too Long

The requested URI is longer than the server will interpret.

415 Unsupported Media Type

The request’s media type is not supported by the resource.

416 Range Not Satisfiable

The requested Range cannot be served.

417 Expectation Failed

The Expect request header could not be met.

418 I'm a teapot

An April Fools’ joke code (RFC 2324); the server refuses to brew coffee.

421 Misdirected Request

The request was directed at a server unable to produce a response.

422 Unprocessable Content

The request was well-formed but had semantic errors (WebDAV / APIs).

423 Locked

The resource being accessed is locked (WebDAV).

424 Failed Dependency

The request failed because a previous request it depended on failed.

425 Too Early

The server is unwilling to risk processing a possibly replayed request.

426 Upgrade Required

The client should switch to a different protocol given in the Upgrade header.

428 Precondition Required

The origin server requires the request to be conditional.

429 Too Many Requests

The client has sent too many requests in a given time (rate limiting).

431 Request Header Fields Too Large

The headers are too large for the server to process.

451 Unavailable For Legal Reasons

The resource is unavailable due to legal demands.

5xx — Server error

The server failed to fulfil a valid request.

500 Internal Server Error

A generic error; the server hit an unexpected condition.

501 Not Implemented

The server does not support the functionality to fulfil the request.

502 Bad Gateway

A gateway or proxy received an invalid response from the upstream server.

503 Service Unavailable

The server is temporarily overloaded or down for maintenance.

504 Gateway Timeout

A gateway or proxy did not get a timely response from the upstream server.

505 HTTP Version Not Supported

The server does not support the HTTP version used in the request.

506 Variant Also Negotiates

A content-negotiation configuration error on the server.

507 Insufficient Storage

The server cannot store the representation needed to complete the request (WebDAV).

508 Loop Detected

The server detected an infinite loop while processing the request (WebDAV).

510 Not Extended

Further extensions to the request are required for the server to fulfil it.

511 Network Authentication Required

The client must authenticate to gain network access (e.g. captive portals).

Sobre esta ferramenta

Os códigos de status HTTP são os números de três dígitos que um servidor retorna em cada resposta, informando ao cliente o que aconteceu. Eles são agrupados em cinco classes: 1xx informativos, 2xx sucesso, 3xx redirecionamento, 4xx erros do cliente e 5xx erros do servidor.

Esta página lista os códigos padrão de cada classe com uma explicação concisa do que cada um significa e quando você vai encontrá-lo. Pesquise por número ou nome para ir até um deles e use as âncoras por código (por exemplo #404) para criar um link direto para um status específico — útil ao depurar uma resposta de API ou uma requisição que falhou.

Uma referência estática renderizada inteiramente no seu navegador — nada é enviado a lugar nenhum.

Perguntas frequentes

Qual é a diferença entre 401 e 403?

401 Unauthorized significa que você não está autenticado — faça login ou envie credenciais válidas e tente de novo. 403 Forbidden significa que você está autenticado, mas não tem permissão para acessar o recurso; tentar de novo com a mesma identidade não vai ajudar.

Quando devo usar 301 em vez de 302?

301 Moved Permanently informa a clientes e mecanismos de busca que o recurso tem uma nova URL permanente (eles devem atualizar links e caches). 302 Found (e 307) são temporários — continue usando a URL original.

O que um código 5xx significa para mim?

Os códigos 5xx indicam que o servidor não conseguiu tratar uma requisição válida — o problema está no lado do servidor, não na sua requisição. Os mais comuns são 500 (erro genérico), 502 (resposta inválida do upstream) e 503 (temporariamente indisponível).