koa-lite/test
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 nit: fix grammar in generator deprecation warning (#834) 2016-10-17 17:45:06 +02:00
context res: use http.ServerResponse._header when accessors exist (#930) 2017-03-07 22:59:24 -08:00
helpers req: Cache the request IP 2016-04-03 19:30:06 -07:00
request Fix malformed content-type header causing exception on charset get (#898) 2017-02-13 11:05:35 +08:00
response res: use http.ServerResponse._header when accessors exist (#930) 2017-03-07 22:59:24 -08:00
.eslintrc add eslint and standard config 2015-10-13 09:23:06 +02:00