Skip to content

Commit 8dc8b78

Browse files
authored
doc: fix a few typos (#200)
1 parent c34ec3e commit 8dc8b78

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The `timeout` keyword argument specifies a timeout for the download in seconds,
6464
with a resolution of milliseconds. By default no timeout is set, but this can
6565
also 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
6868
which will be called whenever there are updates about the size and status of the
6969
ongoing 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

113113
Make a request to the given url, returning a `Response` object capturing the
114114
status, 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
116116
requests, if an `input` stream is given, a `PUT` request is made; otherwise if
117117
an `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

src/Downloads.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ The `timeout` keyword argument specifies a timeout for the download in seconds,
200200
with a resolution of milliseconds. By default no timeout is set, but this can
201201
also 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
204204
which will be called whenever there are updates about the size and status of the
205205
ongoing 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
@@ -276,7 +276,7 @@ end
276276
277277
Make a request to the given url, returning a `Response` object capturing the
278278
status, 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
280280
requests, if an `input` stream is given, a `PUT` request is made; otherwise if
281281
an `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

0 commit comments

Comments
 (0)