Req #67079 [Opn->Fbk]: Missing MIME types for XML/XSL files
| From: | ab@php.net | Date: | Tue, 15 Apr 2014 13:10:07 +0000 |
| Subject: | Req #67079 [Opn->Fbk]: Missing MIME types for XML/XSL files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-185255@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67079&edit=1
ID: 67079
Updated by: ab@php.net
Reported by: dde at innovaphone dot com
Summary: Missing MIME types for XML/XSL files
-Status: Open
+Status: Feedback
Type: Feature/Change Request
Package: Built-in web server
Operating System: Windows 7 x64
PHP Version: 5.5.11
Block user comment: N
Private report: N
New Comment:
Could you please post short file snippets you have erroneous behaviour with?
thanks
Previous Comments:
------------------------------------------------------------------------
[2014-04-15 11:22:34] dde at innovaphone dot com
Description:
------------
I'm currently developing a website with XML and XSL files where XSLT is done.
First an XML file is served which contains a reference to an XSL file and the browser does the
transformation.
Sadly this doesn't work (at least with Firefox/Chrome) if the web server doesn't set a
correct Content-Type header.
So I vote for two new lines inside the mime_type_map in php_cli_server.c:
{ "xml", "application/xml" },
{ "xsl", "application/xml" },
A router script with custom mime types is no option as the debugging gets extremely slow (Visual
Studio 2013 with plugin PHP tools and xdebug).
Greetings,
Daniel
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67079&edit=1