🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #255788

Re: "jeff.jpg" is a ⋅BORKED⋅ JPEG. 

#255788
From: Sandman
Date: Sat, 02 Nov 2013 08:38
82 lines
4207 bytes
In article <Jeff-Relf.Me@Nov.1{16.42.Seattle.2013}>, Jeff-Relf.Me <> wrote:

>  "jeff.jpg" is a ⋅BORKED⋅ JPEG.

So, the content-type doesn't define the content, then? Good, you're 
learning! This has been a valuable lesson for you.
 
>  "http://usenet.sandman.net/plain/jeff.jpg" 
>  ⋅is⋅ a JPEG image because Apache sent "Content-Type: image/JPEG".

No it doesn't, liar.

The content-type is image/png. Can't you read?

~> telnet usenet.sandman.net 80
Connected to cluster.atlascms.se.
Escape character is '^]'.
HEAD /plain/jeff.jpg HTTP/1.0
HOST:usenet.sandman.net

HTTP/1.1 200 OK
Date: Sat, 02 Nov 2013 08:26:24 GMT
Server: Apache/2.2.16 (Debian)
Content-Location: jeff.jpg.php
Vary: negotiate
TCN: choice
X-Powered-By: PHP/5.3.3-7+squeeze16
Connection: close
Content-Type: image/png

	*image/png*

As you can see, anyone can try this - just telnet to port 80 on the host 
"usenet.sandman.net" and when connected, type:

	HEAD /plain/jeff.jpg HTTP/1.0
	HOST:usenet.sandman.net

And then two carriage returns. That's all. That tells the web server you 
want the HEAD information for the file in question. Since the server has 
virtual hosts, you also need to tell it what host it should serve it from. 
Then two <return> and the above is what you will see - the web server says 
that the "content-type" for jeff.jpg is "image/png".

Jeff is ignorant, and a liar.
 
>  The contents are fucked because the sender, @Sandman,
>  is fucked in the head.

The reader will note that my replies are long detailed explanation about 
how web servers function and Jeff's replies are just personal attacks and 
cursing. The reader should make his own conclusions based on that. Nowhere 
has Jeff backed up his curses with any actual facts, just empty claims.

Just some more actual facts, from the HTTP RFC:

   <http://tools.ietf.org/rfc/rfc2616.txt>

   14.17 Content-Type
   The Content-Type entity-header field indicates the media type of the
   entity-body sent to the recipient or, in the case of the HEAD method,
   the media type that would have been sent had the request been a GET.

Note the use of the word "indicates"

>  FireFox ( and Google Chrome ) say: <<
> 
>    The image “http://usenet.sandman.net/plain/jeff.jpg” 
>    cannot be displayed because it contains errors.  >>
> 
>  "Content-Type", and "Content-Type" alone, defines the content.

Unless, of course, you know what you're talking about and can read an RFC.
 
>  How many times do I have to explain this ultra⋅simple idea ?

None, stop repeating your ignorance. And stop flooding the newsgroup with 
the same content over and over. You always snip away the parts you can't 
deal with and repeat your lies. Is your name Michael Glasser?

-- 
Sandman[.net]
Technical Details
Message-ID: <slrnl79efd.rpj.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!et7no7243710wib.1!news-out.google.com!ed8ni3068wic.0!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <Jeff-Relf.Me@Nov.1{12.38.Seattle.2013}> <slrnl7830n.po3.mr@irc.sandman.net> <Jeff-Relf.Me@Nov.1{13.30.Seattle.2013}> <slrnl785u5.jn.steve@snorky.mixmin.net> <Jeff-Relf.Me@Nov.1{14.35.Seattle.2013}> <slrnl788j5.q9d.mr@irc.sandman.net> <Jeff-Relf.Me@Nov.1{16.42.Seattle.2013}>

Show Full Headers
Complete Article Headers
Message-ID: <slrnl79efd.rpj.mr@irc.sandman.net>
Subject: Re: "jeff.jpg" is a ⋅BORKED⋅ JPEG. 
Date: Sat, 02 Nov 2013 08:38:02 +0000
From: Sandman <mr@sandman.net>
References: <Jeff-Relf.Me@Nov.1{12.38.Seattle.2013}> <slrnl7830n.po3.mr@irc.sandman.net> <Jeff-Relf.Me@Nov.1{13.30.Seattle.2013}> <slrnl785u5.jn.steve@snorky.mixmin.net> <Jeff-Relf.Me@Nov.1{14.35.Seattle.2013}> <slrnl788j5.q9d.mr@irc.sandman.net> <Jeff-Relf.Me@Nov.1{16.42.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!et7no7243710wib.1!news-out.google.com!ed8ni3068wic.0!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
X-Received: by 10.14.194.65 with SMTP id l41mr2593520een.6.1383381483043;
Newsgroups: news.software.readers,alt.free.newsservers
Lines: 82
Mime-Version: 1.0
X-Trace: individual.net 44iHkgt6tfDgaoR45yDe5AR53DGfjFAFmhaF8o1e4HvB6+WQQ=
Cancel-Lock: sha1:m0Df53h00cbOG5CRy1la045wiRo=
User-Agent: slrn/pre1.0.0-18 (Linux)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Original-Bytes: 3969