|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-08-03 14:47 UTC] cmb@php.net
-Status: Open
+Status: Verified
-Package: Built-in web server
+Package: *Web Server problem
-Operating System: Linux
+Operating System: *
[2015-08-03 14:47 UTC] cmb@php.net
[2015-09-19 18:25 UTC] j dot tvr at centrum dot cz
[2016-03-11 10:42 UTC] jakub at zalas dot pl
[2016-03-27 05:51 UTC] krakjoe@php.net
[2016-03-27 05:51 UTC] krakjoe@php.net
-Status: Verified
+Status: Closed
[2016-03-27 05:52 UTC] krakjoe@php.net
[2016-07-20 11:32 UTC] davey@php.net
[2018-10-14 19:55 UTC] zaid at developerhub dot io
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 06:00:01 2025 UTC |
Description: ------------ When the configuration directive default_mimetype is not set (empty), the CLI server sends an empty Content-Type header, which violates RFC 2616. FPM, for example, does not send the header at all (expected behavior). Test script: --------------- <?php ini_set('default_mimetype', ''); Expected result: ---------------- $ curl -I http://example.com/test.php HTTP/1.1 200 OK Host: example.com Connection: close X-Powered-By: PHP/7.0.0beta2 Actual result: -------------- $ curl -I http://example.com/test.php HTTP/1.1 200 OK Host: example.com Connection: close X-Powered-By: PHP/7.0.0beta2 Content-type: