bug1019528 - use of cachecontrol

https://bugzilla.mozilla.org/show_bug.cgi?id=1019528
This is not gonna work, you have to explicitly set "global CACHE_SESSION" at the beginning of the function else python will create a new local variable named CACHE_SESSION inside the function - and not update the global one.