1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
## Changelog
### 1.1.4
* Retain node v0.4.x compatibility.
### 1.1.3
* Now using 10 second timeout - tests using mocha
### 1.1.2
* Better error handling around invalid URLs
### 1.1.1
* Node 0.6.3 compatibility without warnings
### 1.1.0
* Returns Get instance as last parameter of `toDisk`, which
assists with filetype-guessing
### 1.0.0
* Switched from deprecated `createClient()` API to new
`http.request` API from node.
* Stronger support for HTTPS
* No longer supports node versions below 0.3.6
### 0.4.0
* Added `asBuffer()` method
* Streamlined `asDisk` to use node's native `.pipe()` function
* Added `encoding` option to constructor
### 0.4.0
* `.asBuffer()` added
* `get()` can now be used without `new`
### 0.3.0
* `get` now supports HTTP SOCKS proxies by setting `HTTP_PROXY` in `ENV`
### 0.2.0
* `node-get` is now `get`.
### 0.1.1
* [laplatrem](https://github.com/leplatrem): Fixed HTTPS support
### 0.1.0
* `max_redirs`, `headers` options in node-get constructor
* The API changes in 0.1.x - Get should never be expected to throw an exception.
* Handling of invalid URLs on redirect.
* Handling of file-level errors.
### 0.0.3
* Handling of DNS-level exceptions.
### 0.0.2
* Enhanced URL validation.
|