mirror of https://github.com/ansible/ansible.git
force_basic_auth for default httpapi connection auth (#59193)
The default for a httpapi connection is to do basic auth, however when setting the url_username and url_password without force_basic_auth, the call to ansible.module_utils.open_url would not always properly handle the basic auth headers based on the combinations of **kwargs passed. This ensures that is always the case when no session token exists and as the goal is to use basic auth in the event of not having a session token, this should be a safe operation. Signed-off-by: Adam Miller <admiller@redhat.com>pull/59619/head
parent
3a103405b1
commit
49da47d09f
Loading…
Reference in New Issue