From: Sam Ruby Date: Thu, 10 Aug 2000 06:09:05 +0000 (+0000) Subject: Correct bug in headers only logic. X-Git-Tag: php-4.0.2RC1~162 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c8fca17576a0e4ea49e586a3640665af8afc8a6;p=php Correct bug in headers only logic. --- diff --git a/sapi/servlet/servlet.c b/sapi/servlet/servlet.c index 2661d8fabe..197b94d127 100644 --- a/sapi/servlet/servlet.c +++ b/sapi/servlet/servlet.c @@ -360,7 +360,7 @@ JNIEXPORT void JNICALL Java_net_php_servlet_send if (!strcmp(SG(request_info).request_method, "HEAD")) { SG(request_info).headers_only = 1; } else { - SG(request_info).headers_only = 1; + SG(request_info).headers_only = 0; } SG(request_info).content_length = contentLength; SG(request_info).auth_password = NULL;