[Bug 64507] New: module does not send Allow: header

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 64507] New: module does not send Allow: header

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64507

            Bug ID: 64507
           Summary: module does not send Allow: header
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_allowmethods
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

The module's goal is to send a 405 Method Not Allowed reponse when a method is
not in the whitelist of allowed methods for this path.

The HTTP spec requires that with such a 405 response, a "Allow:" header must be
sent with the response indicating which methods are supported. But the module
does not do that.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Allow

It seems that the module would have the information available to populate this
required header.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64507] module does not send Allow: header

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64507

--- Comment #1 from Ruediger Pluem <[hidden email]> ---
Do you have an example request that behaves wrong? The module does not set the
Allow header itself. This is taken care of by the http module and
ap_send_error_response (search for Allow).

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]