Django's cache breaks request.data

Issue #181 new
Michael Fladischer
created an issue

I was setting up caching for my Django site according to http://docs.djangoproject.com/en/dev/topics/cache/

After adding "django.middleware.cache.UpdateCacheMiddleware" as the last and "django.middleware.cache.FetchFromCacheMiddleware" as the first middleware in my settings.py, piston no longer populated the request.data dict in my update() handler methods. According to the cache documentation it should not cache PUT requests.

Comments (0)

  1. Log in to comment