express
express copied to clipboard
Polish HTML structure of the response in the res.redirect() function
Revolves issue#5058
To prevent the issue of not showing the DOM body in the old-versioned browser or HTTPServer in redirecting method, it is better to have the <!DOCTYPE html>' and
Your changes look good to me, you just missed the tests for the redirect body in test/res.redirect.js
.
Your changes look good to me, you just missed the tests for the redirect body in
test/res.redirect.js
.
Hi, I have updated the test file, could you review it again? Thank you!
Looks good now, but I'm not the maintainer.