Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4685

Add mandatory 'Allow' header to 405 response of an OPTION method

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Outdated
    • None
    • None
    • None
    • Flagged

    Description

      In HSTTWO-4531, the OPTIONS method was handled with a 405 "Method Not Allowed" response.

      The HTTP/1.1 RFC states at https://tools.ietf.org/html/rfc7231#section-6.5.5:

      The origin server MUST generate an Allow header field in a 405 response containing a list of the target resource's currently supported methods.

      Let's add that header.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jhoffman Jeroen Hoffman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: