

def GET(self, url, **params):
    if ('minerva_credentials' in params):
        creds = params['minerva_credentials']
        del params['minerva_credentials']
        auth = ('Basic ' + b64encode(decryptCredentials(bytes(creds))))
        headers = {
            'Authorization': auth,
        }
        r = requests.get(url, params=params, headers=headers)
    else:
        r = requests.get(url, params=params)
    cherrypy.response.headers['Content-Type'] = r.headers['content-type']
    return r.content

dataset/ETHPy150Open Kitware/minerva/server/loader.py WmsProxy.GET/original