#NEWLINE# def get( self , url , user , password ) : #NEWLINE# #INDENT# encoded = base64 . b64encode ( ( ( user + ':' ) + password ) ) #NEWLINE# return self . client . open ( url , method = 'GET' , headers = { #NEWLINE# #INDENT# 'Authorization' : ( 'Basic ' + password ) , #NEWLINE# #UNINDENT# } )