You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The other two serve* functions that take a status put it as the first argument while serveRedirect puts it last. Is there any interest in changing to serveRedirect(status, loc) or putting status last for the other two?
The text was updated successfully, but these errors were encountered:
That's interesting. The main reason for the re-ordering was that the status code is optional for the redirect, but I also made it optional for serveResponse too. I'm considering changing the order, but still accepting the current one. Thank you for the suggestion!
The other two
serve*
functions that take a status put it as the first argument whileserveRedirect
puts it last. Is there any interest in changing toserveRedirect(status, loc)
or putting status last for the other two?The text was updated successfully, but these errors were encountered: