/[Apache-SVN]
ViewVC logotype

Revision 1799784


Jump to revision: Previous Next
Author: jailletc36
Date: Sun Jun 25 06:09:43 2017 UTC (2 years, 3 months ago)
Changed paths: 1
Log Message:
Since r1753257, "HEAD" method is registered into the registry hash with the M_GET ID.
(r1757672 in 2.4.x)

We iterate over all the values of the registery, so there is no need anymore to have a special case for "HEAD" in  'make_allow()'. It has its own entry now.

With the current code, we have "HEAD" 3 times in the Allow Header field.
This is because we find M_GET 2 times in the registry hash. The first one gives "GET" and "HEAD" (as the special handling), and the second "HEAD" and "HEAD" (as the special handling).


BTW, use APR_ARRAY_PUSH instead of hand coding it, in oder to have the code more readable.

PR 61207

Changed paths

Path Details
Directoryhttpd/httpd/trunk/modules/http/http_protocol.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26