Default Permanent Redirect in `HttpServerResponse.redirect` Causes Issues

[oh crumpets, this has already been fixed but I'm on an old version]

Yikes, HttpServerResponse.redirect defaults to a permanent redirect? Just shot myself in the foot with this and ended up chasing my tail for an hour not realising I was getting a cached redirect..

Wouldn't it be a better idea to default to 302?

I think that's pretty universally the expected behaviour across other libraries
Was this page helpful?