- fix
.buffer()
res.text
when no parser matches
- change: use
this
whenwindow
is undefined - update to new component spec [juliangruber]
- fix emission of "data" events for compressed responses without encoding. Closes #125
- add field name to .attach()
- add text "parser"
- refactor isObject()
- remove wtf isFunction() helper
- fix
Buffer
responses [TooTallNate] - fix
res.type
when a "type" param is present [TooTallNate]
- remove GET
.send()
==.query()
special-case (API change !!!)
- add
.aborted
prop - add
.abort()
. Closes #115
- add
.forbidden
response property - add component.json
- change emitter-component to 0.0.5
- fix client-side tests
- add
.timeout(ms)
. Closes #17
- fix pathname relative redirects. Closes #112
- fix redirects when schema is specified
- add
res.buffered
flag - add buffering of text/*, json and forms only by default. Closes #61
- add
.buffer(false)
cancellation - add cookie jar support [hunterloftis]
- add agent functionality [hunterloftis]
- allow
query()
to be called after the internalreq
has been created [tootallnate]
- add
res.send('foo=bar')
default of "application/x-www-form-urlencoded"
- add "methods" dep
- add
.end()
arity check to node callbacks - fix unzip support due to weird node internals
- Added "Link" response header field parsing, exposing
res.links
- Added 303, 305 and 307 as redirect status codes [slaskis]
- Fixed passing an object as the url
- Added component support
- Fixed redirect data
- Added HTTP PATCH support
- Fixed: GET / HEAD when following redirects. Closes #86
- Fixed Content-Length detection for multibyte chars
- Added
.head()
method [browser]. Closes #78 - Added
make test-cov
support - Added multipart request support. Closes #11
- Added all methods that node supports. Closes #71
- Added "response" event providing a Response object. Closes #28
- Added
.query(obj)
. Closes #59 - Added
res.type
(browser). Closes #54 - Changed: default
res.body
andres.files
to {} - Fixed: port existing query-string fix (browser). Closes #57
- Added deflate/gzip support [guillermo]
- Added
res.type
(Content-Type void of params) - Added
res.statusCode
to mirror node - Added
res.headers
to mirror node - Changed: parsers take callbacks
- Fixed optional schema support. Closes #49
- Added url auth support
- Added
.auth(username, password)
- Added basic auth support [node]. Closes #41
- Added
make test-docs
- Added guillermo's EventEmitter. Closes #16
- Removed
Request#data()
for SS, renamed tosend()
- Removed
Request#data()
from client, renamed tosend()
- Fixed array support. [browser]
- Fixed array support. Closes #35 [node]
- Fixed
EventEmitter#emit()
- Added error to callback
- Bumped node dep for 0.5.x
- Added markdown documentation
- Added
request(url[, fn])
support to the client - Added
qs
dependency to package.json - Added options for
Request#pipe()
- Added support for
request(url, callback)
- Added
request(url)
as shortcut forrequest.get(url)
- Added
Request#pipe(stream)
- Added inherit from
Stream
- Added multipart support
- Added ssl support (node)
- Removed Content-Length field from client
- Fixed buffering,
setEncoding()
to utf8 [reported by stagas] - Fixed "end" event when piping
- Added
res.redirect
flag (node) - Added redirect support (node)
- Added
Request#redirects(n)
(node) - Added
.set(object)
header field support - Fixed
Content-Length
support
- Added support for multiple calls to
.data()
- Added support for
.get(uri, obj)
- Added GET
.data()
querystring support - Added IE{6,7,8} support [alexyoung]
- Initial commit