]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Redefined ap_http_method(r) to ap_os_http_method(r) for NetWare so that
authorBradley Nicholes <bnicholes@apache.org>
Mon, 13 Aug 2001 17:09:42 +0000 (17:09 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Mon, 13 Aug 2001 17:09:42 +0000 (17:09 +0000)
we can appropriately recontruct the URL in ap_contruct_url() based on a
secure or unsecure socket.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@90139 13f79535-47bb-0310-9956-ffa450edef68

src/include/httpd.h

index 7f11a0cac8e95113354f780b4d6c1e93055f635b..48f5a6bb044b5e185452ed519b819ee5030ded34 100644 (file)
@@ -141,7 +141,11 @@ extern "C" {
 #define DEFAULT_HTTP_PORT      80
 #define DEFAULT_HTTPS_PORT     443
 #define ap_is_default_port(port,r)     ((port) == ap_default_port(r))
+#ifdef NETWARE
+#define ap_http_method(r) ap_os_http_method(r)
+#else
 #define ap_http_method(r)      "http"
+#endif
 #define ap_default_port(r)     DEFAULT_HTTP_PORT
 
 /* --------- Default user name and group name running standalone ---------- */