#NEWLINE# def send( self , request , **kw ) : #NEWLINE# #INDENT# '\n        Send a request. Use the request information to see if it\n        exists in the cache and cache the response if we need to and can.\n        ' #NEWLINE# if ( request . method == 'GET' ) : #NEWLINE# #INDENT# cached_response = self . controller . cached_request ( request ) #NEWLINE# if cached_response : #NEWLINE# #INDENT# return self . build_response ( request , cached_response , from_cache = True ) #NEWLINE# #UNINDENT# request . headers . update ( self . controller . conditional_headers ( request ) ) #NEWLINE# #UNINDENT# resp = super ( CacheControlAdapter , self ) . send ( request , ** kw ) #NEWLINE# return resp