win_get_url: Changed basic auth from NetworkCredential to Base64 (#32389)

* Changed basic auth from NetworkCredential to Base64

* Added force_basic_auth parameter to win_get_url module

force_basic_auth provides user with option to control which mechanism to use

Updated win_get_url.py documentation section

* Add missing version_added in win_get_url.py

* minor update for documentation
This commit is contained in:
Wojciech Pietruszeski 2017-12-18 21:38:44 +01:00 committed by Jordan Borean
parent 370a7ace4b
commit 2a0cb20a1f
2 changed files with 19 additions and 2 deletions

View file

@ -69,6 +69,13 @@ options:
description:
- Basic authentication password.
aliases: [ password ]
force_basic_auth:
description:
- If C(yes), will add a Basic authentication header on the initial request.
- If C(no), will use Microsoft's WebClient to handle authentication.
type: bool
default: 'no'
version_added: "2.5"
skip_certificate_validation:
description:
- This option is deprecated since v2.4, please use C(validate_certs) instead.