Dag Wieers
4ba7d05e9d
win_get_url: ExtendedWebClient with Timeout support ( #28755 )
2017-08-29 18:52:39 -04:00
Dag Wieers
61d2201a2d
win_get_url: Add use_proxy, headers and timeout ( #26612 )
...
* win_get_url: Add use_proxy, headers and timeout
This PR includes:
- Add use_proxy parameter
- Add timeout parameter
- Add headers parameter
- Simplify logic
- Create separate CheckModified-File
- Now use -LiteralPath instead of -Path
- Clean up documentation
* win_get_url: Add use_proxy, headers and timeout
This PR includes:
- Add use_proxy parameter
- Add timeout parameter
- Add headers parameter
- Simplify logic
- Create separate CheckModified-File
- Now use -LiteralPath instead of -Path
- Clean up documentation
2017-08-28 20:11:10 -04:00
Reid Wahl
3026e5eb15
Fixes #28584 : modules/windows/win_get_url.ps1: Change -msg option to -message ( #28585 )
2017-08-24 10:48:37 +02:00
Dave
4cec83471c
win_get_url.ps1 - enable TLS1.1/TLS1.2 if they're available but disabled ( #26833 )
2017-08-11 11:00:34 +10:00
jhawkesworth
deae1499ed
win_get_url improvements; allow dir for dest and helpful error if dest parent dir doesn't exist ( #25453 )
...
* win_get_url now allows dir for destination and gives helpful message if download parent dir does not exist
* fix yaml lint failure
2017-07-10 14:30:55 +10:00
Dag Wieers
37508fde5f
win_get_url: Replace skip_certificate_validation with validate_certs ( #26464 )
...
This is part of the effort to make win_get_url parameters conform to
other modules. The option `validate_certs` is the common option for
this.
See also #20160
2017-07-05 16:56:43 -07:00
Artem Zinenko
a5da638d34
Fix #22126 ( #22128 )
2017-03-29 11:29:27 -07:00
Dag Wieers
a64fb3eebf
win_get_url: Clean up and check-mode support ( #21381 )
...
* win_get_url: Clean up and check-mode support
Changes include:
- Clean up parameter handling
- Replace $result PSObject with hash
* Revert to original formatting
2017-02-23 22:26:01 -08:00
Dag Wieers
7be39ca553
Windows modules: Add -type "path" to path parameters ( #20282 )
...
This PR is based on #20164 functionality to specify the parameter type
(e.g. as done for python modules).
In this case only -type "path" has a specific meaning, as it will expand
environment variables for paths. Which is typically done on Windows.
So you can do:
- win_copy:
src: files/some.doc
dest: '%UserProfile%\My Documents'
2017-01-16 11:39:58 -08:00
nitzmahone
363ff55445
StrictMode fixes for win_get_url
2016-12-08 11:24:37 -05:00
Dreamcat4
eeabebdd6c
fix: win_get_url - fixes for strict-mode
2016-12-08 11:24:20 -05:00
jhawkesworth@users.noreply.github.com
63f8bdf782
Use HEAD request to determine if file should be downloaded, ensure download method is the same regardless of force mode.
2016-12-08 11:24:13 -05:00
nitzmahone
821fb6c0ab
fix win_get_url var renames ala xpicio fix PR #2378
...
reimplements #2378 sans formatting merge conflicts
2016-12-08 11:23:58 -05:00
nitzmahone
317ea13759
win_get_url doc/strict-mode fixes
...
plus cleaning up from bad merge
2016-12-08 11:23:54 -05:00
T.Kuramochi
dfda2e9f57
Add HTTP Proxy options
...
Update a document file for win_get_url.ps1.
Update add a prefix proxy_ for this variables
Update a document file for win_get_url.ps1.
Update win_get_url.ps1 20150907
2016-12-08 11:23:54 -05:00
fxfitz
61cdc2ae90
Fixed spelling mistake: missing
2016-12-08 11:23:39 -05:00
Andrew Briening
bd531f87bc
Show the exception messages
2016-12-08 11:23:31 -05:00
Andrew Briening
a886690309
Adds basic authentication & skip certificate validation to win_get_url module
2016-12-08 11:23:29 -05:00
Chris Church
31a01305ba
Set force=yes as the default, add force parameter to module docs.
2016-12-08 11:23:20 -05:00
Tal Auslander
8766641871
use ConvertTo-Bool for the force parameter
2016-12-08 11:23:19 -05:00
Tal Auslander
64f19fc4c6
stop reading from url on error
2016-12-08 11:23:19 -05:00
Tal Auslander
9c6d829991
add force parameter to win_get_url
2016-12-08 11:23:19 -05:00
Tal Auslander
26a54897a2
win_get_url re-download file only if modified
2016-12-08 11:23:19 -05:00
Michael DeHaan
c7eec45b73
Restructuring.
2016-12-08 11:22:22 -05:00