| Line 106... |
Line 106... |
| 106 |
redirection in \command{wget}, use \code{extra = "--max-redirect=0"}.)
|
106 |
redirection in \command{wget}, use \code{extra = "--max-redirect=0"}.)
|
| 107 |
The \code{"wininet"} method supports some redirections but not all.
|
107 |
The \code{"wininet"} method supports some redirections but not all.
|
| 108 |
(For method \code{"libcurl"}, messages will quote the endpoint of
|
108 |
(For method \code{"libcurl"}, messages will quote the endpoint of
|
| 109 |
redirections.)
|
109 |
redirections.)
|
| 110 |
|
110 |
|
| - |
|
111 |
When the file is not found on the server, the \code{"curl"} method will
|
| - |
|
112 |
typically download a HTML file stating that and report success. To
|
| - |
|
113 |
instead get an error in that case, use argument \code{extra = "-f"}.
|
| - |
|
114 |
|
| 111 |
See \code{\link{url}} for how \samp{file://} URLs are interpreted,
|
115 |
See \code{\link{url}} for how \samp{file://} URLs are interpreted,
|
| 112 |
especially on Windows. The \code{"internal"} and \code{"wininet"}
|
116 |
especially on Windows. The \code{"internal"} and \code{"wininet"}
|
| 113 |
methods do not percent-decode, but the \code{"libcurl"} and
|
117 |
methods do not percent-decode, but the \code{"libcurl"} and
|
| 114 |
\code{"curl"} methods do: method \code{"wget"} does not support them.
|
118 |
\code{"curl"} methods do: method \code{"wget"} does not support them.
|
| 115 |
|
119 |
|