diff options
Diffstat (limited to 'sapi/servlet/servlet.c')
-rw-r--r-- | sapi/servlet/servlet.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |