Test: /sapi/cli/tests/bug61977.phpt - Version 7.4.21        

Bug #61977 Need CLI web-server support for files with .htm & svg extensions
Submitted: 2012-05-08 20:51:06 Modified: 2012-06-20 17:14:53
From: sixd Assigned: laruence
Status: Closed Package: Built-in web server
PHP Version: 5.4.3 OS: All

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ foo.html => Content-type: text/html; charset=UTF-8 002+ foo.htm => Content-type: text/html; charset=UTF-8 003+ foo.svg => Content-type: text/html; charset=UTF-8 004+ foo.css => Content-type: text/html; charset=UTF-8 005+ foo.js => Content-type: text/html; charset=UTF-8 006+ foo.png => Content-type: text/html; charset=UTF-8 007+ foo.webm => Content-type: text/html; charset=UTF-8 008+ foo.ogv => Content-type: text/html; charset=UTF-8 009+ foo.ogg => Content-type: text/html; charset=UTF-8 001- foo.html => Content-Type: text/html; charset=UTF-8 002- foo.htm => Content-Type: text/html; charset=UTF-8 003- foo.svg => Content-Type: image/svg+xml 004- foo.css => Content-Type: text/css; charset=UTF-8 005- foo.js => Content-Type: application/javascript 006- foo.png => Content-Type: image/png 007- foo.webm => Content-Type: video/webm 008- foo.ogv => Content-Type: video/ogg 009- foo.ogg => Content-Type: audio/ogg
1 (50%)
001+ Server is not accepting connections after 6 seconds 001- foo.html => Content-Type: text/html; charset=UTF-8 002- foo.htm => Content-Type: text/html; charset=UTF-8 003- foo.svg => Content-Type: image/svg+xml 004- foo.css => Content-Type: text/css; charset=UTF-8 005- foo.js => Content-Type: application/javascript 006- foo.png => Content-Type: image/png 007- foo.webm => Content-Type: video/webm 008- foo.ogv => Content-Type: video/ogg 009- foo.ogg => Content-Type: audio/ogg