chocolatey/chocolatey — pull request #224 by drewburlingame (2012-12-21 08:59:07+00:00)
Title: Get-WebFileSimple, to remove gow dependency from JavaJDK package

- uses WebClient.DownloadFile to download files
- allows adding cookies. (necessary for some sites, i.e. downloading java jdk from oracle)
- allows ignoring invalid certificates (self-signed, etc)

I would like to use the existing JavaJDK package, but can't because it depends on gow, which conflicts with other *nix tools I'm using. He only needs gow for wget. With this function, I'm able to download the file without wget.