自定义响应支持的状态码 - AWS WAF, AWS Firewall Manager,以及 AWS Shield Advanced

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

自定义响应支持的状态码

本节列出了可在自定义响应中使用的状态码。有关HTTP状态码的详细信息,请参阅互联网工程任务组提供的状态代码 (IETF) 和维基百科上的HTTP状态代码列表

以下是HTTP状态码 AWS WAF 支持自定义响应。

  • 2xx Successful

    • 200OK

    • 201Created

    • 202Accepted

    • 204No Content

    • 206Partial Content

  • 3xx Redirection

    • 300Multiple Choices

    • 301Moved Permanently

    • 302Found

    • 303See Other

    • 304Not Modified

    • 307Temporary Redirect

    • 308Permanent Redirect

  • 4xx Client Error

    • 400Bad Request

    • 401Unauthorized

    • 403Forbidden

    • 404Not Found

    • 405Method Not Allowed

    • 408Request Timeout

    • 409Conflict

    • 411Length Required

    • 412Precondition Failed

    • 413Request Entity Too Large

    • 414Request-URI Too Long

    • 415Unsupported Media Type

    • 416Requested Range Not Satisfiable

    • 421Misdirected Request

    • 429Too Many Requests

  • 5xx Server Error

    • 500Internal Server Error

    • 501Not Implemented

    • 502Bad Gateway

    • 503Service Unavailable

    • 504Gateway Timeout

    • 505HTTP Version Not Supported