Skip to content

Commit

Permalink
Allow to download from pre-authenticated MyGet feed - fixes #466
Browse files Browse the repository at this point in the history
  • Loading branch information
forki committed Feb 1, 2015
1 parent 2dfa52d commit 7ec5f43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#### 0.26.1 - 01.02.2015
* Allow to download from pre-authenticated MyGet feed - https://github.com/fsprojects/Paket/issues/466

#### 0.26.0 - 31.01.2015
* Allow to opt-out of old frameworks in `paket.dependencies` - http://fsprojects.github.io/Paket/nuget-dependencies.html#Framework-restrictions
* Allow `copy_local` settings in `paket.references` - http://fsprojects.github.io/Paket/references-files.html#copy_local-settings
Expand Down
1 change: 1 addition & 0 deletions src/Paket.Core/NuGetV2.fs
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ let DownloadPackage(root, auth, url, name, version:SemVerInfo, force) =

let request = HttpWebRequest.Create(Uri nugetPackage.DownloadUrl) :?> HttpWebRequest
request.AutomaticDecompression <- DecompressionMethods.GZip ||| DecompressionMethods.Deflate
request.UserAgent <- "Paket"

match auth with
| None -> request.UseDefaultCredentials <- true
Expand Down

0 comments on commit 7ec5f43

Please sign in to comment.