1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/276c47b70c28/ changeset: 276c47b70c28 user: carlfeberhard date: 2012-12-20 19:42:45 summary: expose_api: add Cache-Control response headers to prevent some browsers from caching api calls affected #: 1 file diff -r 1073bded37116da144e4e292462346fb7b035bca -r 276c47b70c285fe9bee6aef86e65ca9463b661ae lib/galaxy/web/framework/__init__.py --- a/lib/galaxy/web/framework/__init__.py +++ b/lib/galaxy/web/framework/__init__.py @@ -155,6 +155,8 @@ error_message = 'Your request did not appear to be valid JSON, please consult the API documentation' return error trans.response.set_content_type( "application/json" ) + # send 'do not cache' headers to handle IE's caching of ajax get responses + trans.response.headers[ 'Cache-Control' ] = "max-age=0,no-cache,no-store" # Perform api_run_as processing, possibly changing identity if 'payload' in kwargs and 'run_as' in kwargs['payload']: if not trans.user_can_do_run_as(): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.