The blagotube home of Sune Kirkeby. Here are rambling rants and some bits of code.

12. Sep
2005

Vary-header goodness

The XHTMLAsHTMLMiddleware class now sets (or updates) the Vary response-header, to indicate to HTTP-caches that the response might change, based on the content of the Accept request-header.

Now, I just need to hack the Django cache-middleware, to set, understand and obey the Vary-header, so I can use it with XHTMLAsHTMLMiddleware.

This post was written by Sune Kirkeby on 2005-09-12, and claimed to be mostly about rambling.

Comments!