@ -59,6 +59,10 @@ Encoding to be used on `setEncoding` of the response data. If null, the body is
##### callback(err, data, response)
##### callback(err, data, response)
###### err
`Error` object with `code` property. If error happens, callback will receive `undefined` as `data` and bare [response](http://nodejs.org/api/http.html#http_http_incomingmessage) object, which can be destroyed or queried for data.
###### data
###### data
The data you requested.
The data you requested.
@ -67,7 +71,6 @@ The data you requested.
The [response object](http://nodejs.org/api/http.html#http_http_incomingmessage).
The [response object](http://nodejs.org/api/http.html#http_http_incomingmessage).
## Related
## Related
See [sent](https://github.com/floatdrop/sent) if you need to upload something.
See [sent](https://github.com/floatdrop/sent) if you need to upload something.