- Enforce content-length header if set in response
- node v0.10 compatibility
- Make HTTP agent configurable.
- Re-tagging due to a problem with 1.1.9 being previously tagged
- More fixes to proxy support
- Fix proxy support when not using auth
- Automatic base64 encoding of proxy.auth into headers['proxy-authorization']
- Now properly sets headers on requests
- Moved tests to mocha
- Now returns 504 errors
- Only uses setTimeout if timeout value is > 0
- Added max_length setting (assumes bytes) that cancels the download if the file is growing too big
- Retain node v0.4.x compatibility.
- Now using 10 second timeout - tests using mocha
- Better error handling around invalid URLs
- Node 0.6.3 compatibility without warnings
- Returns Get instance as last parameter of
toDisk
, which assists with filetype-guessing
- Switched from deprecated
createClient()
API to newhttp.request
API from node. - Stronger support for HTTPS
- No longer supports node versions below 0.3.6
- Added
asBuffer()
method - Streamlined
asDisk
to use node's native.pipe()
function - Added
encoding
option to constructor
.asBuffer()
addedget()
can now be used withoutnew
get
now supports HTTP SOCKS proxies by settingHTTP_PROXY
inENV
node-get
is nowget
.
- laplatrem: Fixed HTTPS support
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.
- Handling of DNS-level exceptions.
- Enhanced URL validation.