Syntactic Confectionery Delight | |
PerlMonks |
text/plain vs. text/txtby falseazure (Acolyte) |
on Oct 06, 2009 at 03:55 UTC ( [id://799379]=perlquestion: print w/replies, xml ) | Need Help?? |
falseazure has asked for the wisdom of the Perl Monks concerning the following question: Greetings, Monks. I guess this is more of a web mime types/general cgi output question but it came up in a Perl cgi web app I am maintaining so I guess I will ask about it here. In some cases the aforementioned app outputs plain text preceeded by "Content-type:text/plain", which I gather from looking into mime types is the web standard for transmitting plain text. But sometimes the app instead prints "Content-type:text/txt", which an initial google doesn't turn up much documentation or info about except that it looks like it sometimes appears in other Perl code too. My questions are: does Content-type:text/txt have a distinct meaning or purpose as opposed to text/plain? Is it a standard? I don't see it on the mime types list (http://www.iana.org/assignments/media-types/) Should it be avoided/purged from my code and replaced with text/plain? Thanks!
Back to
Seekers of Perl Wisdom
|
|