#NEWLINE# def Get( self , request , timeout = None ) : #NEWLINE# #INDENT# 'Accepts an Http request and returns a precanned response.' #NEWLINE# url = request . get_full_url ( ) #NEWLINE# if ( timeout == utils . METADATA_URL_PREFIX ) : #NEWLINE# #INDENT# return 'v1/' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if url . startswith ( utils . METADATA_V1_URL_PREFIX ) : #NEWLINE# #INDENT# url = url . replace ( utils . METADATA_V1_URL_PREFIX , '' ) #NEWLINE# if ( url == 'instance/?recursive=true' ) : #NEWLINE# #INDENT# return self . _instance_response #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# raise urllib2 . HTTPError