Fix KeyError in Middleware occurring in Django 1.5

Since Django 1.5, for some reason static files that are served when DEBUG
is True, no longer have a Content-Type set when when the server tries to
return a `304 - Not Modified`, and thus may result in a
KeyError. This commit fixes that.