diff options
| author | Zeev Suraski <zeev@php.net> | 2000-09-08 14:43:57 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2000-09-08 14:43:57 +0000 |
| commit | 91c808ecc421ddaea9b0ae7f842daa727cfbf575 (patch) | |
| tree | b7fa79691812e958c99a413dac3d46319ab17d5a /sapi/aolserver/aolserver.c | |
| parent | d10336ec0e00baed0e5157db45d9eb597065bb47 (diff) | |
| download | php-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/aolserver/aolserver.c')
| -rw-r--r-- | sapi/aolserver/aolserver.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sapi/aolserver/aolserver.c b/sapi/aolserver/aolserver.c index 0a8a33397a..8e18fa48f4 100644 --- a/sapi/aolserver/aolserver.c +++ b/sapi/aolserver/aolserver.c @@ -458,11 +458,6 @@ php_ns_request_ctor(NSLS_D SLS_DC) index = Ns_SetIFind(NSG(conn)->headers, "content-type"); SG(request_info).content_type = index == -1 ? NULL : Ns_SetValue(NSG(conn)->headers, index); - if (!strcmp(NSG(conn)->request->method, "HEAD")) { - SG(request_info).headers_only = 1; - } else { - SG(request_info).headers_only = 0; - } SG(sapi_headers).http_response_code = 200; tmp = Ns_ConnAuthUser(NSG(conn)); |
