Skip to content
Discussion options

You must be logged in to vote

The status code can't be changed after the first write to the response body, the status and headers have already been sent to the client. That's what's happening in your sample, and it sounds like what's happening in your issue?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Tratcher
Comment options

Answer selected by simendsjo
@simendsjo
Comment options

@Tratcher
Comment options

@simendsjo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants