◐ Shell
clean mode source ↗

http: calling ServerResponse.writeHead multiple times?

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@ronag

Description

@ronag

Looking through the code it seems a bit undefined what happens if writeHead is called multiple times. Especially in the case where the headers have already been sent. I would expect at least the former to error but that does not seem to be the case.

Metadata

Metadata

Labels

No fields configured for issues without a type.

Development

No branches or pull requests

Issue actions