#NEWLINE# def head( self , alias , uri , headers = None , allow_redirects = None , timeout = None ) : #NEWLINE# #INDENT# ' **Deprecated- See Head Request now**\n\n        Send a HEAD request on the session object found using the\n        given `alias`\n\n        `alias` that will be used to identify the Session object in the cache\n\n        `uri` to send the HEAD request to\n\n        `headers` a dictionary of headers to use with the request\n        ' #NEWLINE# logger . warn ( 'Deprecation Warning: Use Head Request in the future' ) #NEWLINE# session = self . _cache . switch ( alias ) #NEWLINE# redir = ( False if ( allow_redirects is None ) else allow_redirects ) #NEWLINE# response = self . _head_request ( session , uri , headers , redir , timeout ) #NEWLINE# return response