regarding cache clearing header in python cgi

Fredrik Lundh fredrik at pythonware.com
Tue Jun 21 05:38:26 EDT 2005


"praba kar" wrote:

>     In Php the following headers base we can clean
>  the cache in the url  "header('Cache-Control:
> no-store, no-cache,  must-revalidate'); "
> I want to know Php equivalent headers in Python-cgi
> If anybody know regarding this kindly mail me.

did you try

    print 'Cache-Control: no-store, no-cache,  must-revalidate'

?

</F>






More information about the Python-list mailing list