[express] response.status is not a function
Opened this issue · 2 comments
eolme commented
response.status(statusCode);
^
TypeError: response.status is not a function
eolme commented
Express mutate prototypes
See:
https://github.com/expressjs/express/blob/master/lib/request.js
https://github.com/expressjs/express/blob/master/lib/response.js
mindplay-dk commented
Can we patch app.req
and app.res
and give it prototypes to mutate, like it wants?