Re: Why a difference in the way a page is validated when uploaded vs. URL given?????

Kornelis, Abe  (MPX) <a.kornelis@pinkroccade.com> wrote:

>I have a comparable problem: when I check the uploaded file it validates
>ok. When I run the checker against a local copy on my harddisk
>(identical content-wise) then I receive an error-message stating that
>text/plain content is currently not supported.

Your browser sets the MIME Content-Type on upload to the Validator while
your web server sets the Content-Type when Validating the file on-line
(after publishing). In this case, your browser is sending the wrong
Content-Type. You'll need to investigate how to make it send the right
information; this /may/ involve changing the filename to have a filename
extension the browser recognizes as HTML (e.g. ".html" or ".htm").

-- 
Now Playing "Rock and Roll Ain't Noise Pollution" by "AC/DC"",
 from the album "Back In Black".

Received on Sunday, 2 March 2003 21:20:00 UTC