koa-lite/lib
jongleberry e9d7abaf79 res: use http.ServerResponse._header when accessors exist (#930)
* Don't use http.ServerResponse._header when accessors exist

Structure of http.ServerResponse._header will change in future
Node versions. Avoid reading and setting it directly when
helpers exist.

* Add new header test case

* make things a little more strict
2017-03-07 22:59:24 -08:00
..
application.js Update the link to migration instructions (#916) 2017-02-26 21:41:14 +08:00
context.js res: use http.ServerResponse._header when accessors exist (#930) 2017-03-07 22:59:24 -08:00
request.js Fix malformed content-type header causing exception on charset get (#898) 2017-02-13 11:05:35 +08:00
response.js res: use http.ServerResponse._header when accessors exist (#930) 2017-03-07 22:59:24 -08:00