dgaudet 98/04/01 12:53:17
Modified: src/main http_protocol.c Log: Yup it's safe to remove the extra method_number stuff Martin. It's not used for subrequests. Revision Changes Path 1.207 +0 -21 apache-1.3/src/main/http_protocol.c Index: http_protocol.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/main/http_protocol.c,v retrieving revision 1.206 retrieving revision 1.207 diff -u -r1.206 -r1.207 --- http_protocol.c 1998/04/01 14:41:34 1.206 +++ http_protocol.c 1998/04/01 20:53:16 1.207 @@ -797,27 +797,6 @@ conn->keptalive = 0; /* We now have a request to play with */ - if (!strcmp(r->method, "HEAD")) { - r->header_only = 1; - r->method_number = M_GET; - } - else if (!strcmp(r->method, "GET")) - r->method_number = M_GET; - else if (!strcmp(r->method, "POST")) - r->method_number = M_POST; - else if (!strcmp(r->method, "PUT")) - r->method_number = M_PUT; - else if (!strcmp(r->method, "DELETE")) - r->method_number = M_DELETE; - else if (!strcmp(r->method, "CONNECT")) - r->method_number = M_CONNECT; - else if (!strcmp(r->method, "OPTIONS")) - r->method_number = M_OPTIONS; - else if (!strcmp(r->method, "TRACE")) - r->method_number = M_TRACE; - else - r->method_number = M_INVALID; /* Will eventually croak. */ - if ((access_status = run_post_read_request(r))) { die(access_status, r); return NULL;