From 91c808ecc421ddaea9b0ae7f842daa727cfbf575 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Fri, 8 Sep 2000 14:43:57 +0000 Subject: Restore the headers_only test to the centralized SAPI startup. If necessary, it can be overriden in the activate() callback. --- sapi/phttpd/phttpd.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sapi/phttpd') diff --git a/sapi/phttpd/phttpd.c b/sapi/phttpd/phttpd.c index 72d81f401a..4bedea5675 100644 --- a/sapi/phttpd/phttpd.c +++ b/sapi/phttpd/phttpd.c @@ -203,11 +203,6 @@ php_phttpd_request_ctor(PHLS_D SLS_DC) SG(request_info).request_method = PHG(cip)->hip->method; SG(request_info).path_translated = malloc(MAXPATHLEN+1); SG(sapi_headers).http_response_code = 200; - if (!strcmp(PHG(cip)->hip->method, "HEAD")) { - SG(request_info).headers_only = 1; - } else { - SG(request_info).headers_only = 0; - } if (url_expand(PHG(cip)->hip->url, SG(request_info).path_translated, MAXPATHLEN, &PHG(sb), NULL, NULL) == NULL) { /* handle error */ } -- cgit v1.2.1