Re: About the media types text/x-php and text/x-php-source
On 2012-08-28 14:49:53 +0200, Christoph Anton Mitterer wrote:
> Again, AFAIU, IETF nor the RFCs do consider the MIME types as way to
> determine what the sender/creator intends the recipient to do with it.
Perhaps it would be more clear like that: one may want to consider
a script as a program/application that can be executed, in which
case application/* should be used; but one may also want to regard
it as text, in which case text/plain can be used. The IETF doesn't
forbid such a choice.
text/x-* could be regarded as non-standard variants of text/plain,
while still providing language information.
> text/* was deprecated.
They are deprecated *for execution*. If the user wants to distribute
the source, meant as visible as text, then text/plain and text/x-*
Vincent Lefèvre <email@example.com> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)