W3C home > Mailing lists > Public > www-validator@w3.org > March 2003

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

From: Morag Stark <mjstark@ntlworld.com>
Date: Tue, 4 Mar 2003 13:19:41 -0000
To: <www-validator@w3.org>
Message-ID: <000501c2e250$b90ec850$f91c883e@MORAGLAPTOP>
>>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").

 

 

I have exactly the same problem when uploading a file, but the filename
extension is already ".html" - I am using Internet Explorer 6 on a
bog-standard windows XP PC - does anybody know what I need to change in
order to upload the file in a way that the validator likes?

 

Thanks :-)

 

Morag

 

 

 
Received on Tuesday, 4 March 2003 08:28:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:06 GMT