Closed FaberVitale closed 4 years ago
One comment r.e. removing the superfluous content-length logic, otherwise looks amazing!
Awesome job @FaberVitale! If you're keen can look to add you as a Contributor to the project?
Let's get this merged and released.
References:
issue: https://github.com/asos-craigmorten/opine/issues/22
express docs: https://expressjs.com/en/4x/api.html#res.redirect
Issue
#22
Details
Implementation of the
res.redirect
api, resolves #22 .References:
expressJsDocs: https://expressjs.com/en/4x/api.html#res.redirect
expressJsCode: https://github.com/expressjs/express/blob/master/lib/response.js#L891
Notable changes comparared to expressJs version
Raises exception if arguments provided are not valid.
CheckList