koa-lite/test/request
dead_horse 72a9b69146 add request.hostname(getter), fixed #224
make request.host and request.hostname work as node url lib
http://nodejs.org/api/url.html#url_url
this commit will change older request.host(getter)
2014-02-26 14:03:05 +08:00
..
accepts.js req.accepts: default to first 'type' 2013-11-20 18:00:24 -08:00
acceptsCharsets.js req.acceptsCharsets - default to first type if header not set 2013-11-26 14:49:07 -08:00
acceptsEncodings.js better content negotiation docs 2014-01-18 14:22:53 -08:00
acceptsLanguages.js req.acceptsLanguage - default to first type fi header not set 2013-11-26 14:52:24 -08:00
charset.js add request.charset 2014-02-14 09:38:59 -08:00
fresh.js add koa Request / Response objects and delegation. Closes #52 2013-11-13 09:01:15 -08:00
get.js add koa Request / Response objects and delegation. Closes #52 2013-11-13 09:01:15 -08:00
header.js expose app-specific prototypes, cleanup/fix tests 2013-11-13 18:41:40 -08:00
host.js add request.hostname(getter), fixed #224 2014-02-26 14:03:05 +08:00
hostname.js add request.hostname(getter), fixed #224 2014-02-26 14:03:05 +08:00
is.js refactor: move .is to type-is 2013-12-27 18:56:09 -08:00
path.js this.originalUrl && this.request.originalUrl 2013-11-14 14:18:05 -08:00
protocol.js expose app-specific prototypes, cleanup/fix tests 2013-11-13 18:41:40 -08:00
query.js ctx.search and ctx.request.search 2013-11-18 19:29:29 -08:00
querystring.js ctx.search and ctx.request.search 2013-11-18 19:29:29 -08:00
search.js ctx.search and ctx.request.search 2013-11-18 19:29:29 -08:00
secure.js expose app-specific prototypes, cleanup/fix tests 2013-11-13 18:41:40 -08:00
stale.js add koa Request / Response objects and delegation. Closes #52 2013-11-13 09:01:15 -08:00