The Boston Diaries

The ongoing saga of a programmer who doesn't live in Boston, nor does he even like Boston, but yet named his weblog/journal “The Boston Diaries.”

Go figure.

Saturday, July 13, 2002

A pleasant surprise from Slashdot

I'm working on a project for a client, and I need to see exactly what transpires between a web browser and a web server, since what I've written isn't exactly working correctly.

So towards that end, I've written a program that acts as a very simple web proxy server—all it does is pass the data on to a real web proxy server, but it also dumps everything to disk so I can examine the traffic (it's not enough to look at the pages, I need to see what else is going on in HTTP).

As a test, I went to Slashdot. As expected, the program saved all the sessions, didn't crash and didn't leave any zombie processes. And then going through the saved files when I found out that there's an Easter Egg in the pages Slashdot send out.

You normally can't see this, even if you view the source of the page, since the Easter Eggs aren't part of the page. They're in the header portion of the transfer (not to be confused with the <HEAD> section of an HTML page—there is a difference). For instance, on the HTML pages (and it's only sent with pages that are text) on one page I found:

HTTP/1.1 200 OK
Date: Sat, 13 Jul 2002 10:08:51 GMT
Server: Apache/1.3.26 (Unix) mod_perl/1.25 mod_gzip/1.3.19.1a
X-Powered-By: Slash 2.003000
X-Fry: That's it! You can only take my money for so long before you take it all and I say enough!
Cache-Control: no-cache
Pragma: no-cache
Connection: close
Content-Type: text/html
Content-Encoding: gzip
Content-Length: 10760

And on another one I found:

HTTP/1.1 200 OK
Date: Sun, 30 Jun 2002 02:11:36 GMT
Server: Apache/1.3.26 (Unix) mod_perl/1.25 mod_gzip/1.3.19.1a
X-Powered-By: Slash 2.003000
X-Bender: OK, but I don't want anyone thinking we're robosexuals.
Last-Modified: Mon, 03 Dec 2001 17:55:42 GMT
ETag: "33673f-13e-3c0bbc9e"
Accept-Ranges: bytes
Content-Length: 318
Connection: close
Content-Type: text/plain

And yet another one:

HTTP/1.1 200 OK
Date: Sat, 13 Jul 2002 10:09:23 GMT
Server: Apache/1.3.26 (Unix) mod_perl/1.25 mod_gzip/1.3.19.1a
X-Powered-By: Slash 2.003000
X-Fry: I'm never gonna get used to the thirty-first century. Caffeinated bacon?
Cache-Control: no-cache
Pragma: no-cache
Connection: close
Content-Type: text/html
Content-Encoding: gzip
Content-Length: 18303

It seems to be quotes from Futurama, but I can't be entirely sure, as I've never seen Futurama. But still, it's neat finding stuff like this buried in programs (or websites as the case may be).

Obligatory Picture

An abstract representation of where you're coming from]

Obligatory Contact Info

Obligatory Feeds

Obligatory Links

Obligatory Miscellaneous

Obligatory AI Disclaimer

No AI was used in the making of this site, unless otherwise noted.

You have my permission to link freely to any entry here. Go ahead, I won't bite. I promise.

The dates are the permanent links to that day's entries (or entry, if there is only one entry). The titles are the permanent links to that entry only. The format for the links are simple: Start with the base link for this site: https://boston.conman.org/, then add the date you are interested in, say 2000/08/01, so that would make the final URL:

https://boston.conman.org/2000/08/01

You can also specify the entire month by leaving off the day portion. You can even select an arbitrary portion of time.

You may also note subtle shading of the links and that's intentional: the “closer” the link is (relative to the page) the “brighter” it appears. It's an experiment in using color shading to denote the distance a link is from here. If you don't notice it, don't worry; it's not all that important.

It is assumed that every brand name, slogan, corporate name, symbol, design element, et cetera mentioned in these pages is a protected and/or trademarked entity, the sole property of its owner(s), and acknowledgement of this status is implied.

Copyright © 1999-2024 by Sean Conner. All Rights Reserved.