toastdriven/django-tastypie — pull request #380 by acdha (2012-02-18 19:57:22+00:00)
Title: Allow resources to set custom Cache-Control headers (closes #318)

This change causes tastypie not to set Cache-Control on a response which already has one, making it trivial to set other policies when necessary.

This is a simpler version of the patch in #318 and includes tests and documentation. It also satisfies the discussion in #51.