Opened 14 years ago

Closed 14 years ago

#12657 closed (duplicate)

Caching middleware raises an error for binary files

Reported by: Archatas Owned by: nobody
Component: Core (Cache system) Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When django webserver is used for development, media files are served as static and django.middleware.cache.UpdateCacheMiddleware is used, requests to media files throw an error:

UnicodeDecodeError: 'utf8' codec can't decode byte 0x89 in position 0: unexpected code byte

Change History (2)

comment:1 by Archatas, 14 years ago

Summary: Caching middleware raises an error for static filesCaching middleware raises an error for binary files

comment:2 by Karen Tracey, 14 years ago

Resolution: duplicate
Status: newclosed

Please include full trcebacks in ticket descriptions. In the absence of one, I suspect this is #9370.

Note: See TracTickets for help on using tickets.
Back to Top