Store HTTP response in a thread local variable