-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Wesley,
On 9/2/2010 3:30 PM, Wesley Acheson wrote: > On Thu, Sep 2, 2010 at 9:22 PM, Wesley Acheson > <wesley.ache...@gmail.com>wrote: > Far too much. :) You're very kind to explain everything in detail. > Anyway I'm also interested in the ; mime types if anyone has any better > reference. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17 http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 (and 3.7.1) The stuff after the ";" is called a "parameter" and for text/* types, the character encoding should be specified using the "charset" parameter. Without the "charset" parameter, the default is supposed to be "ISO-8859-1". > Also what does tomcat do if serving a static file with an unlisted > extension? The default appears to be "text/plain", though I can't find that in the HTTP spec, the servlet specification, or the Tomcat source code. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyAHxkACgkQ9CaO5/Lv0PDDAgCeI+fHDmQEAVokWU+yVvm0bo7y awEAn2SPrZa5EjNgL0snep9MAvLiJXXS =AnkW -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org