Hi,

during development, I like keeping all caching headers sent by my WSGI
server set to no-cache / no-store. (FireFox is especially eager to
cache things even when there's a more current version around. PITA!)
Even when you initialize the SharedDataMiddleWare with a kwarg of
cache = False, however, the "Cache-Control" header is always set to
"Public" by the code itself (the self.cache setting is evaluated for a
different purpose, but ignored for the Cache-Control header)

I tweaked my own copy of the source but I'd like to propose this minor
change: either have an additional kwarg for the cache-control header,
or use the cache kwarg to send out the most appropriate header
value... make sense?

Thanks for the werkzeug, btw. Just the right way to do WSGI for me. I love it!
Best,
Phil

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to