Article View: alt.free.newsservers
Article #152768Re: "Content-Type", and "Content-Type" alone, defines the content.
From: Steve Crook
Date: Fri, 01 Nov 2013 21:06
Date: Fri, 01 Nov 2013 21:06
36 lines
2549 bytes
2549 bytes
On Fri, 01 Nov 2013 13:30:46 -0700 (Seattle), Jeff-Relf.Me wrote in
Message-Id: <Jeff-Relf.Me@Nov.1{13.30.Seattle.2013}>:
> You asked me: <<
>
> Haha, so now you're saying that a JPG file with a
> image/png content type is a HTML file ? >>
>
> You can NOT be that stupid, impossible; you're trolling.
>
> "Content-Type", and "Content-Type" alone, defines the content.
Sandman stated:
>> 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.
He's pointing out to you that jeff.jpg is a text file, despite the
extension. He's also pointing out that the Content-Type states it's a
png file.
In other words, the Content-Type does *not* explicitly define the
content type. I assume Sandman has tweaked his mime.types file so that
.jpg has a MIME type of image/png. Apache references that file and sets
Content-Type: image/png for jeff.jpg.
Neat example. :)
--
And with glasses high we raised a cry for freedom had arrived
Technical Details
Message-ID:
<slrnl785u5.jn.steve@snorky.mixmin.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!backlog2.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mailReferences:
<Jeff-Relf.Me@Oct.30{9.07.Seattle.2013}> <slrnl77phv.8ml.tth@hangartistique.cispeo.fr> <Jeff-Relf.Me@Nov.1{11.21.Seattle.2013}> <slrnl77v00.po3.mr@irc.sandman.net> <Jeff-Relf.Me@Nov.1{12.38.Seattle.2013}> <slrnl7830n.po3.mr@irc.sandman.net> <Jeff-Relf.Me@Nov.1{13.30.Seattle.2013}>Show Full Headers
Complete Article Headers
Message-ID: <slrnl785u5.jn.steve@snorky.mixmin.net>
Subject: Re: "Content-Type", and "Content-Type" alone, defines the content.
Date: Fri, 01 Nov 2013 21:06:13 +0000
From: Steve Crook <steve@mixmin.net>
References: <Jeff-Relf.Me@Oct.30{9.07.Seattle.2013}> <slrnl77phv.8ml.tth@hangartistique.cispeo.fr> <Jeff-Relf.Me@Nov.1{11.21.Seattle.2013}> <slrnl77v00.po3.mr@irc.sandman.net> <Jeff-Relf.Me@Nov.1{12.38.Seattle.2013}> <slrnl7830n.po3.mr@irc.sandman.net> <Jeff-Relf.Me@Nov.1{13.30.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!backlog2.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail
Newsgroups: news.software.readers,alt.free.newsservers
Organization: Mixmin
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 1 Nov 2013 21:06:13 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4";
logging-data="7905"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.2-9 (Linux)
Lines: 35