1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

win_get_url: Clarify the encoded slash issue (#45376)

* win_get_url; Clarify the encoded slash issue
This commit is contained in:
Dag Wieers 2018-09-24 17:18:06 +02:00 committed by Alicia Cozine
parent f90fc8a9a2
commit db5b65f5d6

View file

@ -4,7 +4,7 @@
# Copyright: (c) 2014, Paul Durivage <paul.durivage@rackspace.com>, and others # Copyright: (c) 2014, Paul Durivage <paul.durivage@rackspace.com>, and others
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# this is a windows documentation stub. actual code lives in the .ps1 # This is a windows documentation stub. actual code lives in the .ps1
# file of the same name # file of the same name
ANSIBLE_METADATA = {'metadata_version': '1.1', ANSIBLE_METADATA = {'metadata_version': '1.1',
@ -28,6 +28,7 @@ options:
description: description:
- The full URL of a file to download. - The full URL of a file to download.
required: yes required: yes
type: str
dest: dest:
description: description:
- The location to save the file at the URL. - The location to save the file at the URL.
@ -53,10 +54,12 @@ options:
url_username: url_username:
description: description:
- Basic authentication username. - Basic authentication username.
type: str
aliases: [ username ] aliases: [ username ]
url_password: url_password:
description: description:
- Basic authentication password. - Basic authentication password.
type: str
aliases: [ password ] aliases: [ password ]
force_basic_auth: force_basic_auth:
description: description:
@ -76,14 +79,17 @@ options:
proxy_url: proxy_url:
description: description:
- The full URL of the proxy server to download through. - The full URL of the proxy server to download through.
type: str
version_added: "2.0" version_added: "2.0"
proxy_username: proxy_username:
description: description:
- Proxy authentication username. - Proxy authentication username.
type: str
version_added: "2.0" version_added: "2.0"
proxy_password: proxy_password:
description: description:
- Proxy authentication password. - Proxy authentication password.
type: str
version_added: "2.0" version_added: "2.0"
use_proxy: use_proxy:
description: description:
@ -98,6 +104,10 @@ options:
type: int type: int
default: 10 default: 10
version_added : '2.4' version_added : '2.4'
notes:
- If your URL includes an escaped slash character (%2F) this module will convert it to a real slash.
This is a result of the behaviour of the System.Uri class as described in
L(the documentation,https://docs.microsoft.com/en-us/dotnet/framework/configure-apps/file-schema/network/schemesettings-element-uri-settings#remarks).
''' '''
EXAMPLES = r''' EXAMPLES = r'''