koa-lite/test/request
fengmk2 dd3a0fcdfa make sure req.host and req.hostname return strict string
Should return empty string when no host present.
2015-03-30 17:44:32 +08:00
..
accepts.js remove .request accept tests the fail 2014-06-03 21:35:11 -07:00
acceptsCharsets.js remove .request accept tests the fail 2014-06-03 21:35:11 -07:00
acceptsEncodings.js better content negotiation docs 2014-01-18 14:22:53 -08:00
acceptsLanguages.js remove .request accept tests the fail 2014-06-03 21:35:11 -07:00
charset.js parse req.type by media-typer 2014-07-09 23:52:56 +08:00
fresh.js add more test case, fix req.idempotent 2014-07-06 16:52:02 +08:00
get.js add more test case, fix req.idempotent 2014-07-06 16:52:02 +08:00
header.js expose app-specific prototypes, cleanup/fix tests 2013-11-13 18:41:40 -08:00
headers.js alias request.headers as request.header 2014-08-07 00:04:21 +08:00
host.js make sure req.host and req.hostname return strict string 2015-03-30 17:44:32 +08:00
hostname.js make sure req.host and req.hostname return strict string 2015-03-30 17:44:32 +08:00
href.js ctx.request.href: get full request url, include protocol, host and originalUrl 2014-12-27 14:17:00 -08:00
idempotent.js add more test case, fix req.idempotent 2014-07-06 16:52:02 +08:00
inspect.js ocd 2014-11-16 21:52:14 +08:00
ip.js add more test case, fix req.idempotent 2014-07-06 16:52:02 +08:00
ips.js add more test case, fix req.idempotent 2014-07-06 16:52:02 +08:00
is.js add more test case, fix req.idempotent 2014-07-06 16:52:02 +08:00
length.js ocd 2014-11-16 21:52:14 +08:00
path.js this.originalUrl && this.request.originalUrl 2013-11-14 14:18:05 -08:00
protocol.js add more test case, fix req.idempotent 2014-07-06 16:52:02 +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 2013-11-13 09:01:15 -08:00
subdomains.js add more test case, fix req.idempotent 2014-07-06 16:52:02 +08:00
type.js ocd 2014-11-16 21:52:14 +08:00