Skip to content

Commit

Permalink
Fix a typo in the readme (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsoorena authored and sindresorhus committed Aug 11, 2018
1 parent d26feb1 commit 2cdb3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -89,7 +89,7 @@ It's a `GET` request by default, but can be changed by using different methods o

#### got(url, [options])

Returns a Promise for a `response` object with a `body` property, an `url` property with the request URL or the final URL after redirects, and a `requestUrl` property with the original request URL.
Returns a Promise for a `response` object with a `body` property, a `url` property with the request URL or the final URL after redirects, and a `requestUrl` property with the original request URL.

The response object will typically be a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage), however, if returned from the cache it will be a [response-like object](https://github.com/lukechilds/responselike) which behaves in the same way.

Expand Down

0 comments on commit 2cdb3ed

Please sign in to comment.