-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send auth information in the headers (#391)
* Send auth information in the headers Instead of sending it in query parameters. This way it is not printed in the logs on errors. Also refactored the download code a bit. We still respect the user's `download.file.method` option. We have tests now for the various download methods. Closes #364. * Fix download test if user has method set We need to unset the `download.file.method` while running the tests, in case the user running the tests has a default set. * Update install-github.R file * Fix download tests on windows Need to double quote, single quote is not special on Windows. * Warn if cannot send HTTP headers Older R versions cannot send headers with the wininet method. * Update install-github.R file * Add note to NEWS [ci skip]
- Loading branch information
1 parent
c04ca36
commit 0c980e2
Showing
7 changed files
with
648 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.