|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull Requests
Pull requests:
HistoryAllCommentsChangesGit/SVN commits
[2010-03-03 10:18 UTC] jani@php.net
-Operating System: Any
+Operating System: *
[2010-08-04 08:05 UTC] jpa at php dot mail dot kapsi dot fi
[2010-08-04 09:14 UTC] evert at rooftopsolutions dot nl
[2010-11-24 10:34 UTC] jani@php.net
-Package: Apache2 related
+Package: CGI related
[2021-09-15 07:11 UTC] tim dot siebels at iserv dot eu
[2021-09-23 11:01 UTC] tim dot siebels at iserv dot eu
[2021-09-23 11:40 UTC] cmb@php.net
[2021-11-27 19:44 UTC] bukka@php.net
[2021-11-30 08:02 UTC] tim dot siebels at iserv dot eu
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 07:00:02 2025 UTC |
Description: ------------ Disclaimer: I'm not 100% sure if this is a PHP-FCGI bug. When (PUT-) HTTP requests are made and encoded as Transfer-Encoding: Chunked, PHP never receives the request body, e.g.: echo strlen(fopen('php://input','r')); will yield 0. Chunked Transfer Encoding is used by the OS/X Finder WebDAV client. It works correctly when mod_php is used, but fails with FastCGI. Nginx and Lighttpd don't support this at all, and return 411 Length Required, which still sucks, but is better than silently failing. Test script: --------------- echo strlen(fopen('php://input','r')); Expected result: ---------------- size of the request body Actual result: -------------- 0