summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2002-10-21 18:44:50 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2002-10-21 18:44:50 +0000
commit8841dfc9955d81f854fd0bbc61c01c060ad165bf (patch)
tree2ea474a9a3de5b51743728c37c8634b3ac790366 /main/SAPI.c
parent8b7e9d77743ae006541a81bf4202e1c5d5311a60 (diff)
downloadphp-git-8841dfc9955d81f854fd0bbc61c01c060ad165bf.tar.gz
removed bogus paranoid header checking
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index 85132e86ae..b1c5a09dcb 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -321,12 +321,8 @@ SAPI_API void sapi_activate(TSRMLS_D)
it is up to the webserver to decide whether to allow a method or not
*/
SG(request_info).content_type_dup = NULL;
- if(PG(always_populate_raw_post_data)) {
- if(sapi_module.default_post_reader) {
- sapi_module.default_post_reader(TSRMLS_C);
- }
- } else {
- sapi_module.sapi_error(E_WARNING, "No content-type in %s request", SG(request_info).request_method);
+ if(sapi_module.default_post_reader) {
+ sapi_module.default_post_reader(TSRMLS_C);
}
}
} else {