koa-lite/test/response
Jonathan Ong 1a32ecac31 fix res.type= for unknown types
because we changed from mime to mime-types. ideally, we should just not
set the content-type, but this way it’s backwards compatible. we can
change it later.
2014-06-06 16:26:03 -07:00
..
attachment.js add koa Request / Response objects and delegation. Closes #52 2013-11-13 09:01:15 -08:00
body.js set-type -> mime-types 2014-06-03 21:44:25 -07:00
etag.js fix 2 test requires 2013-11-14 11:23:59 -08:00
header.js expose app-specific prototypes, cleanup/fix tests 2013-11-13 18:41:40 -08:00
last-modified.js fix 2 test requires 2013-11-14 11:23:59 -08:00
length.js fix content-length when body is re-assigned. Closes #267 2014-04-28 20:34:26 -07:00
redirect.js ocd 2014-03-24 21:21:15 +03:00
remove.js add ctx.remove() and res.remove(). Closes #100 2013-11-24 05:06:35 -08:00
set.js add koa Request / Response objects and delegation. Closes #52 2013-11-13 09:01:15 -08:00
status.js set-type -> mime-types 2014-06-03 21:44:25 -07:00
type.js fix res.type= for unknown types 2014-06-06 16:26:03 -07:00
vary.js add koa Request / Response objects and delegation. Closes #52 2013-11-13 09:01:15 -08:00