Apache2-API

 view release on metacpan or  search on metacpan

lib/Apache2/API/Status.pm  view on Meta::CPAN

        201 => "Erstellt",
        202 => "Akzeptiert",
        203 => "Nicht autorisierende Informationen",
        204 => "Kein Inhalt",
        205 => "Inhalt zurücksetzen",
        206 => "Teilinhalt",
        207 => "Multi-Status",
        208 => "Bereits gemeldet",
        226 => "IM verwendet",
        300 => "Mehrfachauswahlmöglichkeiten",
        301 => "Dauerhaft verschoben!",
        302 => "Vorübergehend verschoben!",
        303 => "Andere sehen",
        304 => "Nicht geändert",
        305 => "Proxy verwenden",
        307 => "Vorübergehende Umleitung!",
        308 => "Dauerhafte Umleitung!",
        400 => "Fehlerhafte Anfrage!",
        401 => "Authentifizierung erforderlich!",
        402 => "Zahlung erforderlich!",
        403 => "Zugriff verweigert!",
        404 => "Objekt nicht gefunden!",
        405 => "Methode nicht erlaubt!",
        406 => "Nicht akzeptabel!",
        407 => "Proxy-Authentifizierung erforderlich!",
        408 => "Zeitlimit überschritten!",
        409 => "Konflikt!",
        410 => "Objekt nicht mehr verfügbar!",
        411 => "Content-Length-Angabe fehlerhaft!",
        412 => "Vorbedingung nicht erfüllt!",
        413 => "Übergebene Daten zu groß!",
        414 => "Übergebener URI zu lang!",
        415 => "Nicht unterstützter Medientyp!",
        416 => "Bereich nicht erfüllbar!",
        417 => "Erwartung fehlgeschlagen!",
        418 => "Ich bin eine Teekanne",
        421 => "Fehlgeleitete Anfrage",
        422 => "Unverarbeitbare Entität!",
        423 => "Ressource gesperrt!",
        424 => "Fehlende Abhängigkeit!",
        425 => "Zu früh!",
        426 => "Upgrade erforderlich!",
        428 => "Vorbedingung erforderlich",
        429 => "Zu viele Anfragen!",
        431 => "Anfrage-Header zu groß!",
        444 => "Verbindung ohne Antwort geschlossen",
        451 => "Aus rechtlichen Gründen nicht verfügbar!",
        499 => "Client die Verbindung schließt",
        500 => "Serverfehler!",
        501 => "Anfrage nicht ausführbar!",
        502 => "Fehlerhaftes Gateway!",
        503 => "Dienst nicht verfügbar!",
        504 => "Gateway-Zeitüberschreitung!",
        505 => "HTTP-Version nicht unterstützt",
        506 => "Variante variiert ebenfalls!",
        507 => "Unzureichender Speicherplatz!",
        508 => "Endlosschleife erkannt!",
        509 => "Bandbreitenlimit überschritten",
        510 => "Nicht erweitert",
        511 => "Netzwerkauthentifizierung erforderlich",
        599 => "Timeout-Fehler bei Netzwerkverbindung",
    },
    en_GB => {
        100 => "Continue",
        101 => "Switching Protocols",
        102 => "Processing",
        103 => "Early Hints",
        200 => "OK",
        201 => "Created",
        202 => "Accepted",
        203 => "Non-authoritative Information",
        204 => "No Content",
        205 => "Reset Content",
        206 => "Partial Content",
        207 => "Multi-Status",
        208 => "Already Reported",
        226 => "IM Used",
        300 => "Multiple Choices",
        301 => "Moved permanently!",
        302 => "Found (temporary redirect)!",
        303 => "See Other",
        304 => "Not Modified",
        305 => "Use Proxy",
        307 => "Temporary redirect!",
        308 => "Permanent redirect!",
        400 => "Bad request!",
        401 => "Authentication required!",
        402 => "Payment required!",
        403 => "Access forbidden!",
        404 => "Object not found!",
        405 => "Method not allowed!",
        406 => "Not acceptable!",
        407 => "Proxy authentication required!",
        408 => "Request time-out!",
        409 => "Conflict!",
        410 => "Resource is no longer available!",
        411 => "Bad Content-Length!",
        412 => "Precondition failed!",
        413 => "Request entity too large!",
        414 => "Submitted URI too long!",
        415 => "Unsupported media type!",
        416 => "Range not satisfiable!",
        417 => "Expectation failed!",
        # Humour: April's fool
        # <https://en.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Control_Protocol>
        418 => "I'm a teapot",
        421 => "Misdirected Request",
        422 => "Unprocessable entity!",
        423 => "Resource locked!",
        424 => "Failed dependency!",
        425 => "Too early!",
        426 => "Upgrade Required!",
        428 => "Precondition Required",
        429 => "Too many requests!",
        431 => "Request Headers Too Large!",
        444 => "Connection Closed Without Response",
        451 => "Unavailable for legal reasons!",
        499 => "Client Closed Request",
        500 => "Server error!",
        501 => "Cannot process request!",
        502 => "Bad Gateway!",
        503 => "Service unavailable!",
        504 => "Gateway timeout!",
        505 => "HTTP Version Not Supported",
        506 => "Variant also varies!",
        507 => "Insufficient storage!",
        508 => "Loop detected!",
        509 => "Bandwidth Limit Exceeded",
        510 => "Not Extended",
        511 => "Network Authentication Required",
        599 => "Network Connect Timeout Error",
    },
    es_ES => {
        100 => "Continuar",
        101 => "Cambio de protocolos",
        102 => "Procesando",
        103 => "Pistas tempranas",
        200 => "OK",
        201 => "Creado",
        202 => "Aceptado",
        203 => "Información no autoritativa",
        204 => "Sin contenido",
        205 => "Restablecer contenido",
        206 => "Contenido parcial",
        207 => "Multi-estado",
        208 => "Ya informado",
        226 => "IM usado",
        300 => "Múltiples opciones",
        301 => "¡Movido permanentemente!",
        302 => "¡Encontrado (redirección temporal)!",
        303 => "Ver otros",
        304 => "No modificado",
        305 => "Usar proxy",
        307 => "¡Redirección temporal!",
        308 => "¡Redirección permanente!",
        400 => "¡Petición errónea!",
        401 => "¡Autenticación requerida!",
        402 => "¡Pago requerido!",
        403 => "¡Acceso prohibido!",
        404 => "¡Objeto no localizado!",
        405 => "¡Método no permitido!",
        406 => "¡No aceptable!",
        407 => "¡Se requiere autenticación de proxy!",
        408 => "¡Tiempo de espera excedido!",
        409 => "¡Conflicto!",
        410 => "¡El recurso ya no está disponible!",
        411 => "¡Error en la longitud del contenido!",
        412 => "¡Fallo de precondición!",
        413 => "¡La entidad solicitada es demasiado grande!",
        414 => "¡El URI enviado es demasiado largo!",
        415 => "¡Tipo de medio no soportado!",
        416 => "Rango no satisfacible!",
        417 => "Expectativa no satisfecha!",
        418 => "Soy una tetera",
        421 => "Solicitud mal dirigida",
        422 => "¡Entidad no procesable!",
        423 => "Recurso bloqueado!",
        424 => "¡Dependencia fallida!",
        425 => "¡Demasiado pronto!",
        426 => "¡Actualización requerida!",
        428 => "Se requiere condición previa",
        429 => "¡Demasiadas solicitudes!",
        431 => "¡Encabezados de solicitud demasiado grandes!",
        444 => "Conexión cerrada sin respuesta",
        451 => "¡No disponible por razones legales!",
        499 => "Solicitud cerrada por el cliente",
        500 => "¡Error del servidor!",
        501 => "¡No se puede procesar la petición!",
        502 => "¡Puerta de enlace errónea!",
        503 => "¡Servicio no disponible!",
        504 => "¡Tiempo de espera de la pasarela agotado!",

lib/Apache2/API/Status.pm  view on Meta::CPAN

        599 => "Earráid ama-theorann ceangail líonra",
    },
    it_IT => {
        100 => "Continua",
        101 => "Cambio di protocollo",
        102 => "Elaborazione in corso",
        103 => "Suggerimenti iniziali",
        200 => "OK",
        201 => "Creato",
        202 => "Accettato",
        203 => "Informazioni non autorevoli",
        204 => "Nessun contenuto",
        205 => "Reimposta contenuto",
        206 => "Contenuto parziale",
        207 => "Multi-stato",
        208 => "Già segnalato",
        226 => "IM utilizzato",
        300 => "Scelte multiple",
        301 => "Spostato definitivamente!",
        302 => "Trovato (reindirizzamento temporaneo)!",
        303 => "Vedi altro",
        304 => "Non modificato",
        305 => "Usa proxy",
        307 => "Reindirizzamento temporaneo!",
        308 => "Reindirizzamento permanente!",
        400 => "Richiesta non valida!",
        401 => "Autenticazione richiesta!",
        402 => "È richiesto il pagamento!",
        403 => "Accesso negato!",
        404 => "Oggetto non trovato!",
        405 => "Metodo non consentito!",
        406 => "Non accettabile!",
        407 => "Autenticazione proxy richiesta!",
        408 => "Time-out della richiesta!",
        409 => "Conflitto!",
        410 => "La risorsa non è più disponibile!",
        411 => "Campo Content-Length non valido!",
        412 => "Precondizione non soddisfatta!",
        413 => "Entità della richiesta troppo grande!",
        414 => "URI troppo lungo!",
        415 => "Tipo di media non supportato!",
        416 => "Intervallo non soddisfacibile!",
        417 => "Expectation fallita!",
        418 => "Sono una teiera",
        421 => "Richiesta mal indirizzata",
        422 => "Entità non elaborabile!",
        423 => "Risorsa bloccata!",
        424 => "Dipendenza non soddisfatta!",
        425 => "Troppo presto!",
        426 => "Aggiornamento richiesto!",
        428 => "Precondizione richiesta",
        429 => "Troppe richieste!",
        431 => "Intestazioni di richiesta troppo grandi!",
        444 => "Connessione chiusa senza risposta",
        451 => "Non disponibile per motivi legali!",
        499 => "Richiesta chiusa dal client",
        500 => "Errore del server!",
        501 => "La richiesta non può essere soddisfatta!",
        502 => "Gateway errato!",
        503 => "Servizio non disponibile!",
        504 => "Timeout del gateway!",
        505 => "Versione HTTP non supportata",
        506 => "La variante varia anch’essa!",
        507 => "Spazio di archiviazione insufficiente!",
        508 => "Rilevato loop!",
        509 => "Limite di banda superato",
        510 => "Non esteso",
        511 => "Autenticazione di rete richiesta",
        599 => "Errore di timeout della connessione di rete",
    },
    ja_JP => {
        100 => "継続",
        101 => "プロトコル切替",
        102 => "処理中",
        103 => "早期のヒント",
        200 => "成功",
        201 => "作成完了",
        202 => "受理",
        203 => "信頼できない情報",
        204 => "内容なし",
        205 => "内容をリセット",
        206 => "部分的内容",
        207 => "複数のステータス",
        208 => "既に報告",
        226 => "IM使用",
        300 => "複数の選択",
        301 => "恒久的に移動しました!",
        302 => "一時的に移動しました!",
        303 => "他を参照せよ",
        304 => "未更新",
        305 => "プロキシを使用せよ",
        307 => "一時的なリダイレクト!",
        308 => "恒久的なリダイレクト!",
        400 => "不正なリクエスト!",
        401 => "認証が必要です!",
        402 => "お支払いが必要です!",
        403 => "アクセス拒否!",
        404 => "未検出!",
        405 => "許可されていないメソッド!",
        406 => "受理できません!",
        407 => "プロキシ認証が必要です!",
        408 => "リクエストタイムアウト!",
        409 => "競合が発生しました!",
        410 => "リソースはもう使えない!",
        411 => "不正なContent-Length!",
        412 => "前提条件を満たしていません!",
        413 => "ペイロードが大きすぎる!",
        414 => "URI が長すぎます!",
        415 => "サポートされていないメディアタイプ!",
        416 => "要求範囲は満たせません!",
        417 => "Expect ヘッダーを満たせません!",
        418 => "私はティーポット",
        421 => "誤った宛先へのリクエスト",
        422 => "処理できないエンティティ!",
        423 => "リソースがロックされています!",
        424 => "依存関係の失敗!",
        425 => "時期尚早!",
        426 => "アップグレードが必要!",
        428 => "前提条件が必要です",
        429 => "リクエストが多すぎます!",
        431 => "リクエストヘッダが大きすぎる!",

lib/Apache2/API/Status.pm  view on Meta::CPAN

See also L<Mozilla documentation|https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403>

This is returned to indicate the client is barred from accessing the resource.

This is different from C<405 Method Not Allowed>, which is used when the client has proper permission to access the resource, but is using a method not allowed, such as using C<PUT> instead of C<GET> method.

=head2 HTTP_NOT_FOUND (404)

See L<rfc 7231, section 6.5.4|https://tools.ietf.org/html/rfc7231#section-6.5.4>

See also L<Mozilla documentation|https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404>

This is returned to indicate the resource does not exist anymore.

=head2 HTTP_METHOD_NOT_ALLOWED (405)

See L<rfc 7231, section 6.5.5|https://tools.ietf.org/html/rfc7231#section-6.5.5>

This is returned to indicate the client it used a L<method|https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods> not allowed, such as using C<PUT> instead of C<GET>. The server can point out the supported methods with the C<Allow> header, such a...

    HTTP/1.1 405 Method Not Allowed
    Content-Type: text/html
    Content-Length: 32
    Allow: GET, HEAD, OPTIONS, PUT

    <h1>405 Try another method!</h1>

=head2 HTTP_NOT_ACCEPTABLE (406)

See L<rfc 7231, section 6.5.6|https://tools.ietf.org/html/rfc7231#section-6.5.6>

This is returned to the client to indicate its requirements are not supported and thus not acceptable. This is in response to L<Accept|https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept>, L<Accept-Charset|https://developer.mozilla.org/e...

For example:

    GET /foo HTTP/1.1
    Accept: application/json
    Accept-Language: fr-FR,en-GB;q=0.8,fr;q=0.6,en;q=0.4,ja;q=0.2

    HTTP/1.1 406 Not Acceptable
    Server: Apache/2.4
    Content-Type: text/html

    <h1>Je ne gère pas le type application/json</h1>


Then, the server would response something like:

=head2 HTTP_PROXY_AUTHENTICATION_REQUIRED (407)

See L<rfc 7235, section 3.2 on Authentication|https://tools.ietf.org/html/rfc7235#section-3.2>

This is returned to indicate the proxy used requires authentication. This is similar to the status code C<401 Unauthorized>.

=head2 HTTP_REQUEST_TIME_OUT (408)

See L<rfc 7231, section 6.5.7|https://tools.ietf.org/html/rfc7231#section-6.5.7>

This is returned to indicate the request took too long to be received and timed out. For example:

    HTTP/1.1 408 Request Timeout
    Connection: close
    Content-Type: text/plain
    Content-Length: 19

    Too slow! Try again

=head2 HTTP_CONFLICT (409)

See L<rfc 7231, section 6.5.8|https://tools.ietf.org/html/rfc7231#section-6.5.8>

This is returned to indicate a request conflict with the current state of the target resource, such as uploading with C<PUT> a file older than the remote one.

=head2 HTTP_GONE (410)

See L<rfc 7231, section 6.5.9|https://tools.ietf.org/html/rfc7231#section-6.5.9>

This is returned to indicate that the target resource is gone permanently. The subtle difference with the status code C<404> is that with C<404>, the resource may be only temporally unavailable whereas with C<410>, this is irremediable. For example:

    HTTP/1.1 410 Gone
    Server: Apache/2.4
    Content-Type: text/plain
    Content-Length: 30

    The resource has been removed.

=head2 HTTP_LENGTH_REQUIRED (411)

See L<rfc 7231, section 6.5.10|https://tools.ietf.org/html/rfc7231#section-6.5.10>

This is returned when the C<Content-Length> header was not provided by the client and the server requires it to be present. Most servers can do without.

=head2 HTTP_PRECONDITION_FAILED (412)

See L<rfc 7232 on Conditional Request|https://tools.ietf.org/html/rfc7232>

This is returned when some preconditions set by the client could not be met.

For example:

Issuing a C<PUT> request for a document if it does not already exist.

    PUT /foo/new-article.md HTTP/1.1
    Content-Type: text/markdown
    If-None-Match: *

Update a document if it has not changed since last time (etag)

    PUT /foo/old-article.md HTTP/1.1
    If-Match: "1345-12315"
    Content-Type: text/markdown

If those failed, it would return something like:

    HTTP/1.1 412 Precondition Failed
    Content-Type: text/plain
    Content-Length: 64

    The article you are tring to update has changed since last time.

If one adds the C<Prefer> header, the servers will return the current state of the resource, thus saving a round of request with a C<GET>, such as:



( run in 0.376 second using v1.01-cache-2.11-cpan-d7f47b0818f )