File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ The `timeout` keyword argument specifies a timeout for the download in seconds,
6464with a resolution of milliseconds. By default no timeout is set, but this can
6565also be explicitly requested by passing a timeout value of ` Inf ` .
6666
67- If the ` progress ` keyword argument is provided, it must be a callback funtion
67+ If the ` progress ` keyword argument is provided, it must be a callback function
6868which will be called whenever there are updates about the size and status of the
6969ongoing download. The callback must take two integer arguments: ` total ` and
7070` now ` which are the total size of the download in bytes, and the number of bytes
@@ -112,7 +112,7 @@ request(url;
112112
113113Make a request to the given url, returning a ` Response ` object capturing the
114114status, headers and other information about the response. The body of the
115- reponse is written to ` output ` if specified and discarded otherwise. For HTTP/S
115+ response is written to ` output ` if specified and discarded otherwise. For HTTP/S
116116requests, if an ` input ` stream is given, a ` PUT ` request is made; otherwise if
117117an ` output ` stream is given, a ` GET ` request is made; if neither is given a
118118` HEAD ` request is made. For other protocols, appropriate default methods are
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ The `timeout` keyword argument specifies a timeout for the download in seconds,
200200with a resolution of milliseconds. By default no timeout is set, but this can
201201also be explicitly requested by passing a timeout value of `Inf`.
202202
203- If the `progress` keyword argument is provided, it must be a callback funtion
203+ If the `progress` keyword argument is provided, it must be a callback function
204204which will be called whenever there are updates about the size and status of the
205205ongoing download. The callback must take two integer arguments: `total` and
206206`now` which are the total size of the download in bytes, and the number of bytes
276276
277277Make a request to the given url, returning a `Response` object capturing the
278278status, headers and other information about the response. The body of the
279- reponse is written to `output` if specified and discarded otherwise. For HTTP/S
279+ response is written to `output` if specified and discarded otherwise. For HTTP/S
280280requests, if an `input` stream is given, a `PUT` request is made; otherwise if
281281an `output` stream is given, a `GET` request is made; if neither is given a
282282`HEAD` request is made. For other protocols, appropriate default methods are
You can’t perform that action at this time.
0 commit comments