summaryrefslogtreecommitdiff
path: root/cgi_main.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-21 23:25:46 +0000
committerZeev Suraski <zeev@php.net>1999-05-21 23:25:46 +0000
commitbe8b9778e0a9103af7691005ae29cc1615e52c40 (patch)
tree174fe00b2aac4bb22fb714a830e4ba080a4c05b4 /cgi_main.c
parent9dc0842e58b6b7b3a09d5e4fa601ae6edfdea3e0 (diff)
downloadphp-git-be8b9778e0a9103af7691005ae29cc1615e52c40.tar.gz
This should be centralized...
Diffstat (limited to 'cgi_main.c')
-rw-r--r--cgi_main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/cgi_main.c b/cgi_main.c
index fb053dc709..076c8fee5b 100644
--- a/cgi_main.c
+++ b/cgi_main.c
@@ -163,11 +163,6 @@ static void init_request_info(SLS_D)
SG(request_info).query_string = getenv("QUERY_STRING");
SG(request_info).request_uri = getenv("PATH_INFO");
SG(request_info).path_translated = NULL; /* we have to update it later, when we have that information */
- if (SG(request_info).request_method && !strcmp(SG(request_info).request_method, "HEAD")) {
- SG(request_info).headers_only = 1;
- } else {
- SG(request_info).headers_only = 0;
- }
SG(request_info).content_type = getenv("CONTENT_TYPE");
SG(request_info).content_length = (content_length?atoi(content_length):0);