13 Jul 2008 hypatia   » (Journeyer)

puzzling.org's wacky behaviour

For ages now the puzzling.org website has had a regular bug whereby instead of displaying correctly it would dump a bunch of HTTP headers and HTML in plain text to people's web browsers. I've known about it for at least a year and people have been emailing me periodically.

This should now be fixed. The problem was Twisted Web/Nevow's implementation of HTTP's 304 code (not modified). At least in the Twisted versions in Ubuntu Hardy and possibly still in trunk twisted.web returns a body of data as well as that header, which is an HTTP MUST NOT. (twisted.web2 looks like it gets this right, we didn't check for sure.)

If it continues to happen and you're one of the few and far between people who wants to help me debug the rarely used HTTP implementation that runs my website, tcpdumps (all traffic, don't limit the packet size) are the most useful debugging tool. At least I'll know where to look in future.

Syndicated 2008-07-13 03:09:03 from puzzling dot org: thoughts

Latest blog entries     Older blog entries

New Advogato Features

FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!