You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/06/09 09:19:05 UTC

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

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: bugs@httpd.apache.org
          Reporter: thijs@debian.org
  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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64507] module does not send Allow: header

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64507

--- Comment #1 from Ruediger Pluem <rp...@apache.org> ---
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org