Open yunsii opened 1 year ago
You're right. I will add these express function in the wrapper
req.is(type)
is not supported. It'd be great to add it as well. https://expressjs.com/en/api.html#req.is
req.is(type)
is not supported. It'd be great to add it as well. https://expressjs.com/en/api.html#req.is
This still is an issue today.
For example, I use express-basic-auth with config
{ challenge: true }
, it will callres.set()
, butres.setHeader()
instead in Next.js.