Skip to content

pass a number to the res.writeStatus #193

Answered by ghost
muturgan asked this question in Q&A
Discussion options

You must be logged in to vote

It takes a string because you are supposed to pass "200 OK" or something like that. You can PR an enum with a few common statuses if you want to

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@santinalbrowns
Comment options

@uNetworkingAB
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #193 on December 09, 2020 11:35.