Opened 16 years ago
Closed 16 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 , 16 years ago
| Summary: | Caching middleware raises an error for static files → Caching middleware raises an error for binary files |
|---|
comment:2 by , 16 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Please include full trcebacks in ticket descriptions. In the absence of one, I suspect this is #9370.