Toolstia / consulta de códigos de status HTTP

Consulta de códigos de status HTTP

Consulte qualquer código de status HTTP, de 200 OK a 404 Not Found e 503 Service Unavailable. Pesquise por número, nome ou uma palavra-chave como redirect ou timeout, ou navegue por um grupo inteiro, como 4xx.

66 codes shown

CodeNameWhat it meansType
100ContinueThe server received the request headers and the client should go ahead and send the body.Informational
101Switching ProtocolsThe server agrees to switch to the protocol the client asked for, such as WebSocket.Informational
102ProcessingThe server has accepted the request and is still working on it. Used by WebDAV.Informational
103Early HintsThe server sends hints, such as preload links, before the final response is ready.Informational
200OKThe request succeeded. The response body depends on the method that was used.Success
201CreatedThe request succeeded and a new resource was created, usually after a POST or PUT.Success
202AcceptedThe request was accepted for processing, but the work has not finished yet.Success
203Non-Authoritative InformationThe request succeeded, but a proxy changed the response from the origin server.Success
204No ContentThe request succeeded and there is nothing to send back. Common for DELETE and some PUT requests.Success
205Reset ContentThe request succeeded and the client should reset the form or view that sent it.Success
206Partial ContentThe server is sending only part of the resource, as asked by a Range header. Used for video and resumed downloads.Success
207Multi-StatusThe body holds several separate status codes for several operations. Used by WebDAV.Success
208Already ReportedThe members of a WebDAV binding were already listed earlier in the response.Success
226IM UsedThe server fulfilled a GET request and the response is the result of one or more instance manipulations.Success
300Multiple ChoicesThere is more than one possible response and the client or user should pick one.Redirection
301Moved PermanentlyThe resource has a new permanent URL. Search engines pass ranking to the new address.Redirection
302FoundThe resource is temporarily at a different URL. Keep using the original address in the future.Redirection
303See OtherGet the response from another URL with a GET request. Often used after a form POST.Redirection
304Not ModifiedThe cached copy is still good, so the server sends no body. Saves bandwidth.Redirection
307Temporary RedirectLike 302, but the client must repeat the request with the same method and body.Redirection
308Permanent RedirectLike 301, but the client must repeat the request with the same method and body.Redirection
400Bad RequestThe server cannot understand the request because of malformed syntax, an invalid message or bad framing.Client error
401UnauthorizedThe request needs valid authentication. The client is not logged in or the credentials are wrong.Client error
402Payment RequiredReserved for future use. A few services use it to say a payment or plan upgrade is needed.Client error
403ForbiddenThe server understood the request but refuses to allow it. Logging in again will not help.Client error
404Not FoundThe server cannot find the requested resource. The URL may be wrong or the page was removed.Client error
405Method Not AllowedThe method, such as POST or DELETE, is not supported for this URL.Client error
406Not AcceptableThe server cannot produce a response that matches the Accept headers the client sent.Client error
407Proxy Authentication RequiredThe client must authenticate with the proxy first.Client error
408Request TimeoutThe server gave up waiting for the client to finish sending the request.Client error
409ConflictThe request conflicts with the current state of the resource, for example an edit conflict.Client error
410GoneThe resource was removed on purpose and will not come back. Stronger than 404.Client error
411Length RequiredThe server needs a Content-Length header on the request.Client error
412Precondition FailedA condition in the request headers, such as If-Match, was not met.Client error
413Content Too LargeThe request body is bigger than the server is willing to accept. Previously called Payload Too Large.Client error
414URI Too LongThe URL is longer than the server is willing to process.Client error
415Unsupported Media TypeThe server does not support the format of the request body.Client error
416Range Not SatisfiableThe Range header asks for a part of the resource that does not exist.Client error
417Expectation FailedThe server cannot meet the requirements of the Expect header.Client error
418I’m a teapotA joke status from April Fools’ RFC 2324. Some servers use it to turn away unwanted bots.Client error
421Misdirected RequestThe request was sent to a server that cannot produce a response for that host.Client error
422Unprocessable ContentThe request is well formed but the server cannot process it, often because of validation errors.Client error
423LockedThe resource is locked. Used by WebDAV.Client error
424Failed DependencyThe request failed because an earlier request that it depends on failed.Client error
425Too EarlyThe server will not risk processing a request that might be replayed.Client error
426Upgrade RequiredThe client must switch to a different protocol, named in the Upgrade header.Client error
428Precondition RequiredThe server requires the request to be conditional to avoid lost updates.Client error
429Too Many RequestsThe client sent too many requests in a given time. Wait for the time in the Retry-After header.Client error
431Request Header Fields Too LargeThe headers, or one of them, are too large.Client error
451Unavailable For Legal ReasonsThe resource is blocked for legal reasons, such as a court order or censorship law.Client error
500Internal Server ErrorThe server hit an unexpected problem. It is a general error, usually a bug or crash in the server code.Server error
501Not ImplementedThe server does not support the feature needed to fulfil the request.Server error
502Bad GatewayA gateway or proxy got an invalid response from the server behind it.Server error
503Service UnavailableThe server cannot handle the request right now, because of overload or maintenance. Often temporary.Server error
504Gateway TimeoutA gateway or proxy did not get a response from the server behind it in time.Server error
505HTTP Version Not SupportedThe server does not support the HTTP version used in the request.Server error
506Variant Also NegotiatesA configuration error caused a circular reference during content negotiation.Server error
507Insufficient StorageThe server cannot store what is needed to finish the request. Used by WebDAV.Server error
508Loop DetectedThe server found an infinite loop while processing the request. Used by WebDAV.Server error
510Not ExtendedThe request needs further extensions before the server can fulfil it.Server error
511Network Authentication RequiredThe client must sign in to the network, for example on a public Wi-Fi portal, before it gets access.Server error
520Web Server Returned an Unknown ErrorA Cloudflare code. The origin server returned an empty, unknown or unexpected response.Server error (unofficial)
521Web Server Is DownA Cloudflare code. The origin server refused the connection from Cloudflare.Server error (unofficial)
522Connection Timed OutA Cloudflare code. Cloudflare could not connect to the origin server in time.Server error (unofficial)
523Origin Is UnreachableA Cloudflare code. Cloudflare could not reach the origin server, often because of a DNS problem.Server error (unofficial)
524A Timeout OccurredA Cloudflare code. The connection was made, but the origin did not reply in time.Server error (unofficial)

Como funciona

  1. Digite um código, nome ou palavra-chave.
  2. Ou clique em um botão de grupo, como 4xx.
  3. Leia o significado de cada código.

Os cinco grupos

Os códigos 1xx são informativos, os 2xx indicam sucesso, os 3xx são redirecionamentos, os 4xx são erros do cliente e os 5xx são erros do servidor.

Os códigos mais consultados

200 OK, redirecionamentos 301 e 302, 304 Not Modified, 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 429 Too Many Requests, 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable e 504 Gateway Timeout.

301 ou 302?

Use 301 quando uma página mudou de endereço de vez, porque assim os mecanismos de busca passam a posição dela para o novo endereço. Use 302 para uma mudança temporária.

Códigos não oficiais

Os códigos 520 a 524 são exclusivos da Cloudflare e aparecem marcados como não oficiais na lista.

Perguntas

Qual é a diferença entre 401 e 403?

O 401 quer dizer que você não está logado ou que suas credenciais estão erradas. O 403 quer dizer que o servidor sabe quem você é, mas você não tem permissão para entrar.

O que um erro 5xx significa para os visitantes?

O problema está no lado do servidor. Os visitantes não conseguem resolver, e o dono do site precisa verificar o servidor ou a hospedagem.

Precisa de internet?

Não, a lista já vem dentro da página. Tudo acontece no seu navegador, e nada do que você digita é enviado para lugar nenhum.