Article View: alt.free.newsservers
Article #152761Re: "Content-Type", and "Content-Type" alone, defines the content.
From: Sandman
Date: Fri, 01 Nov 2013 19:07
Date: Fri, 01 Nov 2013 19:07
74 lines
3819 bytes
3819 bytes
In article <Jeff-Relf.Me@Nov.1{11.21.Seattle.2013}>, Jeff-Relf.Me <> wrote:
> Re: http://validator.w3.org/check?uri=http%3A%2F%2FJeff-Relf.Me%2F
55 errors, 16 warnings on one small page with pretty much no actual
content.
> Again...
>
> There's no <DOCTYPE> because I prefer it that way, it's not an "error".
Incorrect.
"The document does not look like HTML, therefore automatic fallback
could not be performed, and the document was only checked against
basic markup syntax."
> Most obviously, "Jeff-Relf.Me" displays as "Content-Type: Text/HTML",
> not "Content-Type: image/JPEG".
According to ignorant Jeff, this is a HTML page:
http://usenet.sandman.net/plain/jeff.txt
Checking the source of the file, you can see that it contains no HTML code
what so ever, checking the file extension you can clearly see that it's a
".txt" file, yet when you watch the headers, you see that it's sent as:
Content-Type: text/html
In fact, according to ignorant Jeff, this is an PNG image:
http://usenet.sandman.net/plain/jeff.jpg
But in the terminal, when I do this:
~> cat jeff.jpg
Jeff is *really* ignorant.
It doesn't contain PNG image data.
In short, "content-type" does *not* define the content of the file. It is
the web *server's* way to guess the content of the file and send that along
to the web browser. The web server can obviously be wrong, as it often is
when it stumbles upon file extensions it is unfamilliar with.
> "Content-Type", and "Content-Type" alone, defines the content;
This is an incorrect statement.
> "<DOCTYPE>" is stupid, irrelevant and meaningless.
This is a very very very ignorant statement.
> Also, I PREFER unencoded ampersands ( '&' ) because,
> in a text editor, it's more readable. Again, these are not "errors".
No one cares about what you prefer. Your page does not adhere to the HTML
standard and as such is not a HTML page.
That is an error.
> Google Chrome, Google Groups, gMail, Mozilla FireFox/Thunderbird and
> Microsoft IE/Mail all agree with me; they do NOT agree with w3.
None of the above agree with you.
> The w3 guys aren't perfect, their "HTML validator" isn't perfect.
Yes it is. Only someone completely ignorant would claim that the official
HTML validator isn't able to correctly validate the page of an amateur.
--
Sandman[.net]
Technical Details
Message-ID:
<slrnl77v00.po3.mr@irc.sandman.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!et7no6242869wib.1!news-out.google.com!ed8ni2470wic.0!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<Jeff-Relf.Me@Oct.29{9.21.Seattle.2013}> <slrnl703ph.e4s.mr@irc.sandman.net> <omtjleif7xg2.1goj5nt74e0m7.dlg@40tude.net> <slrnl71h87.fk4.mr@irc.sandman.net> <Jeff-Relf.Me@Oct.30{9.07.Seattle.2013}> <slrnl77phv.8ml.tth@hangartistique.cispeo.fr> <Jeff-Relf.Me@Nov.1{11.21.Seattle.2013}>Show Full Headers
Complete Article Headers
Message-ID: <slrnl77v00.po3.mr@irc.sandman.net>
Subject: Re: "Content-Type", and "Content-Type" alone, defines the content.
Date: Fri, 01 Nov 2013 19:07:43 +0000
From: Sandman <mr@sandman.net>
References: <Jeff-Relf.Me@Oct.29{9.21.Seattle.2013}> <slrnl703ph.e4s.mr@irc.sandman.net> <omtjleif7xg2.1goj5nt74e0m7.dlg@40tude.net> <slrnl71h87.fk4.mr@irc.sandman.net> <Jeff-Relf.Me@Oct.30{9.07.Seattle.2013}> <slrnl77phv.8ml.tth@hangartistique.cispeo.fr> <Jeff-Relf.Me@Nov.1{11.21.Seattle.2013}>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!et7no6242869wib.1!news-out.google.com!ed8ni2470wic.0!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
X-Received: by 10.152.181.97 with SMTP id dv1mr1653199lac.5.1383332864457;
MIME-Version: 1.0
Newsgroups: news.software.readers,alt.free.newsservers
Lines: 74
X-Trace: individual.net /0D9lEawc8SU4e64Puh74wKSrTQ2eAtIMlwSsiPuH2+sdMimE=
Cancel-Lock: sha1:AZ1IIfSABxychGUhnLjU9etuug0=
User-Agent: slrn/pre1.0.0-18 (Linux)
X-Original-Bytes: 3502