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/pi3web/pi3web_sapi.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sapi/pi3web/pi3web_sapi.c') diff --git a/sapi/pi3web/pi3web_sapi.c b/sapi/pi3web/pi3web_sapi.c index bd89121457..0f148f632a 100644 --- a/sapi/pi3web/pi3web_sapi.c +++ b/sapi/pi3web/pi3web_sapi.c @@ -319,11 +319,6 @@ static void init_request_info(sapi_globals_struct *sapi_globals, LPCONTROL_BLOCK SG(request_info).auth_user = lpCB->lpszUser; SG(request_info).auth_password = lpCB->lpszPassword; SG(sapi_headers).http_response_code = 200; - if (!strcmp(lpCB->lpszMethod, "HEAD")) { - SG(request_info).headers_only = 1; - } else { - SG(request_info).headers_only = 0; - } } static void hash_pi3web_variables(ELS_D SLS_DC) -- cgit v1.2.1