PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
[ start all new proposals below, under PATCHES PROPOSED. ]
- *) mod_http: Add the HEAD method to the lookup hash for completeness.
- Trunk version of patch:
- http://svn.apache.org/r1753257
- Backport version for 2.4.x of patch:
- Trunk version of patch works
- +1: wrowe, ylavic, sf
-
*) mod_dav: fix typo (missing '/') in closing tag (follow up to r1756560
which backported r1746207 in 2.4.24). Plus r1748155 to fix compiling with
clang.
apr_pool_cleanup_null);
/* put all the standard methods into the registry hash to ease the
- mapping operations between name and number */
+ * mapping operations between name and number
+ * HEAD is a special-instance of the GET method and shares the same ID
+ */
register_one_method(p, "GET", M_GET);
+ register_one_method(p, "HEAD", M_GET);
register_one_method(p, "PUT", M_PUT);
register_one_method(p, "POST", M_POST);
register_one_method(p, "DELETE", M_DELETE);