summaryrefslogtreecommitdiff
path: root/sapi/nsapi/nsapi.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-09-08 14:43:57 +0000
committerZeev Suraski <zeev@php.net>2000-09-08 14:43:57 +0000
commit91c808ecc421ddaea9b0ae7f842daa727cfbf575 (patch)
treeb7fa79691812e958c99a413dac3d46319ab17d5a /sapi/nsapi/nsapi.c
parentd10336ec0e00baed0e5157db45d9eb597065bb47 (diff)
downloadphp-git-91c808ecc421ddaea9b0ae7f842daa727cfbf575.tar.gz
Restore the headers_only test to the centralized SAPI startup. If necessary, it can
be overriden in the activate() callback.
Diffstat (limited to 'sapi/nsapi/nsapi.c')
-rw-r--r--sapi/nsapi/nsapi.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c
index 210ac1766f..70b002b6c3 100644
--- a/sapi/nsapi/nsapi.c
+++ b/sapi/nsapi/nsapi.c
@@ -479,12 +479,6 @@ nsapi_request_ctor(NSLS_D SLS_DC)
SG(request_info).content_type = nsapi_strdup(content_type);
SG(request_info).content_length = (content_length == NULL) ? 0 : strtoul(content_length, 0, 0);
SG(sapi_headers).http_response_code = 200;
- if (!strcmp(request_method, "HEAD")) {
- SG(request_info).headers_only = 1;
- } else {
- SG(request_info).headers_only = 0;
- }
-
}
static void