-
-
Save robertklep/068272f103e8cc9f09f47c3be8ca08aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
let server = app.listen(4433); | |
server.on('checkContinue', (req, res) => { | |
res._writeRaw('HTTP/1.1 100 Continue\r\nFoo: bar\r\n\r\n'); | |
res._sent100 = true; | |
server.emit('request', req, res); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment