Handytool
KehittäjilleIlmainenSuoritetaan paikallisesti

HTTP-statushaku

Etsi HTTP-koodi ja saa täydellinen kuvaus ja yleiset virheenaiheuttajat.

Luokka
  • 100Continue

    Server received the request headers; client should send the body.

  • 101Switching Protocols

    The server is switching protocols as requested by the client.

  • 102Processing

    Request received but not yet processed (WebDAV).

  • 103Early Hints

    Used to return some response headers before final HTTP message.

  • 200OK

    Standard success response.

  • 201Created

    Request succeeded and a new resource was created.

  • 202Accepted

    Request accepted for processing but not completed.

  • 203Non-Authoritative Information

    Returned metadata is from a third-party copy.

  • 204No Content

    Request succeeded but no content is returned.

  • 205Reset Content

    Request succeeded; client should reset the document view.

  • 206Partial Content

    Range request succeeded; partial content returned.

  • 207Multi-Status

    Body contains multiple statuses (WebDAV).

  • 208Already Reported

    Members of a DAV binding already enumerated.

  • 226IM Used

    Server fulfilled a GET request and the response is the result of one or more instance-manipulations.

  • 300Multiple Choices

    Request has more than one possible response.

  • 301Moved Permanently

    Resource moved to a new permanent URL.

  • 302Found

    Resource is temporarily at a different URL.

  • 303See Other

    Client should follow the response to a new URL with GET.

  • 304Not Modified

    Cached version is still valid; no body returned.

  • 307Temporary Redirect

    Same method should be used at the new URL.

  • 308Permanent Redirect

    Same as 301 but the request method must not change.

  • 400Bad Request

    Server cannot or will not process due to a client error.

  • 401Unauthorized

    Authentication required and has failed or not been provided.

  • 402Payment Required

    Reserved for future use, sometimes used for paywalls.

  • 403Forbidden

    Server understood but refuses to authorize.

  • 404Not Found

    The requested resource could not be found.

  • 405Method Not Allowed

    Request method is known but not supported by the resource.

  • 406Not Acceptable

    Resource cannot produce content matching the Accept headers.

  • 407Proxy Authentication Required

    Client must authenticate with the proxy.

  • 408Request Timeout

    Server timed out waiting for the request.

  • 409Conflict

    Request conflicts with the current state of the resource.

  • 410Gone

    Resource is no longer available and will not be available again.

  • 411Length Required

    Content-Length header is required.

  • 412Precondition Failed

    A precondition in the request headers was not met.

  • 413Payload Too Large

    Request entity is larger than the server is willing to process.

  • 414URI Too Long

    URI is longer than the server is willing to interpret.

  • 415Unsupported Media Type

    Media format of the request is not supported.

  • 416Range Not Satisfiable

    Requested range cannot be served.

  • 417Expectation Failed

    Expectation in Expect header could not be met.

  • 418I'm a teapot

    Server refuses to brew coffee because it is, permanently, a teapot.

  • 421Misdirected Request

    Request was directed to a server unable to produce a response.

  • 422Unprocessable Entity

    Request was well-formed but had semantic errors.

  • 423Locked

    Resource is locked (WebDAV).

  • 424Failed Dependency

    Request failed because of a previous failed request (WebDAV).

  • 425Too Early

    Server unwilling to risk processing a replay-vulnerable request.

  • 426Upgrade Required

    Client must upgrade to a different protocol.

  • 428Precondition Required

    Server requires the request to be conditional.

  • 429Too Many Requests

    Client has sent too many requests in a given amount of time.

  • 431Request Header Fields Too Large

    Headers are too large for the server to process.

  • 451Unavailable For Legal Reasons

    Resource cannot be served for legal reasons.

  • 500Internal Server Error

    Generic server error response.

  • 501Not Implemented

    Server does not support the request method.

  • 502Bad Gateway

    Server received an invalid response from an upstream server.

  • 503Service Unavailable

    Server is overloaded or down for maintenance.

  • 504Gateway Timeout

    Upstream server did not respond in time.

  • 505HTTP Version Not Supported

    HTTP version in the request is not supported.

  • 506Variant Also Negotiates

    Internal configuration error in transparent content negotiation.

  • 507Insufficient Storage

    Server is unable to store the representation (WebDAV).

  • 508Loop Detected

    Server detected an infinite loop while processing (WebDAV).

  • 510Not Extended

    Further extensions to the request are required.

  • 511Network Authentication Required

    Client needs to authenticate to gain network access.

Lähde: RFC 9110 ja IANA HTTP -tilastot.

HTTP-statushaku – tietoa

Handytooling HTTP Status -haku on nopea viite HTTP-koodeihin ja riveihin. Etsi koodi (403, 502, 204) ja saa virallinen merkitys, yleiset syyt, miksi palvelimet palauttavat koodin, ja virheenkorjauksen vinkkejä. Koodit on ryhmitelty luokkaan: 1xx tiedolliset, 2xx onnistuneet, 3xx uudelleenohjaus, 4xx asiakkaan virheet, 5xx palvelimen virheet.

HTTP-statushaku – ominaisuudet

  • 01

    Viralliset kuvaukset ja yksityiskohdat

    Jokainen koodi näyttää virallisen tilariviin (404 Not Found), määritelmän HTTP-spesifikaatiosta, ja lyhyen selityksen siitä, mitä se tarkoittaa.

  • 02

    Yleiset syyt ja vinkkejä

    Yleisissä virhekoodeissa (404, 500, 403) näyttää miksi se tapahtuu ja kuinka virheenjäljitys — puuttuvat reitit, palvelinkaatuminen, auth-virheet.

  • 03

    Etsi koodin tai avainsanan perusteella

    Kirjoita 404 tai "ei löytynyt" haussa. Haku on välitön ja iso-/pienkirjainherkkä.

HTTP-statushaku – UKK

Mikä ero on 404:n ja 410:n välillä?
404 Not Found tarkoittaa, että resurssia ei löydy, mutta se voi olla olemassa uudelleen. 410 Gone tarkoittaa, että resurssi olemassa, mutta ei enää ja ei tule takaisin.
Mitä 5xx vs 4xx tarkoittaa?
4xx ovat asiakkaan virheet (huono pyyntö). 5xx ovat palvelimen virheet (palvelin epäonnistui). 1xx/3xx ovat tiedolliset/uudelleenohjaus.
Milloin 204 No Content palautuu?
204 palautuu, kun pyyntö onnistuu (esim. DELETE), mutta ei ole vastausrunkoa. Onnistunut (2xx), mutta ilman tietoja.
Mikä on 418 I'm a teapot?
Se on vitsi RFC 2324:ssä vuodelta 1998. Jotkut palvelimet toteuttavat sen hauskasti — mutta se on kelvollinen HTTP.

Liittyvät työkalut

Kehittäjille

Tutustu muihin työkaluihin

Kaikki työkalut