Description
Getting 200 response from ranger server-side(as it is redirecting to login page) using wrong credential instead of 401.
Because of this urllib2 python module gives 200 response code with no json data in response and gets below error:
ValueError: No JSON object could be decoded
Used below rest public api url for above scenario
http://{ranger_host}:6080/service/public/api/repository?name={repo_name}&type={repo_type}&status=true
Attachments
Attachments
Issue Links
- links to