def http_connect(ipaddr, port, device, partition, method, path, headers=None, query_string=None, ssl=False, key_file=None, cert_file=None):
 path = quote((((('/' + device) + '/') + str(partition)) + path))
 return http_connect_raw(ipaddr, port, device, partition, method, path, headers, query_string, ssl, key_file, cert_file)

def http_connect ( ipaddr , port , device , partition , method , path , headers = None , query_string = None , ssl = False , key_file = None , cert_file = None ) : path = quote ( ( ( ( ( '/' + device ) + '/' ) + str ( partition ) ) + path ) ) return http_connect_raw ( ipaddr , port , device , partition , method , path , headers , query_string , ssl , key_file , cert_file )
helper function to create an httpconnection object .