Description
Ranger can be deployed behind a proxy which can result in Ranger endpoint to include a subpath, like https://hostname:6182/ranger (instead of https://hostname:6182).
Python client for Ranger strips the last path of the such URL while constructing the URL for REST APIs - like https://hostname:6182/service/public/v2/api/policy. This results in REST API calls to fail since the URL doesn't include /ranger. Ranger Python client needs to be updated to address this issue.
In addition, it will be desirable to be able to send few headers and query parameters in each API call, for example to send requestId header or tenantId as a parameter.