]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
expand the combination of protcols and methods squid will accept
authorwessels <>
Fri, 28 Nov 1997 15:14:09 +0000 (15:14 +0000)
committerwessels <>
Fri, 28 Nov 1997 15:14:09 +0000 (15:14 +0000)
src/url.cc

index 8c2e94e7ebdcc58ea605e8be94a4708714dc9faa..8c0fe01e6b55c92e9293483ff6f6acc082544bab 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: url.cc,v 1.67 1997/11/24 18:27:17 wessels Exp $
+ * $Id: url.cc,v 1.68 1997/11/28 08:14:09 wessels Exp $
  *
  * DEBUG: section 23    URL Parsing
  * AUTHOR: Duane Wessels
@@ -398,10 +398,14 @@ urlCheckRequest(const request_t * r)
        rc = 1;
        break;
     case PROTO_FTP:
+       if (r->method == METHOD_PUT)
+           rc = 1;
     case PROTO_GOPHER:
     case PROTO_WAIS:
        if (r->method == METHOD_GET)
            rc = 1;
+       else if (r->method == METHOD_HEAD)
+           rc = 1;
        break;
     default:
        break;