Closed chrisegner closed 7 years ago
Thanks. Sorry for the regression. We clearly need a test case on this.
That's not a regression, there is some other force at work but we are yet to find it ... Please watch #82
Superceded by https://github.com/theganyo/swagger-node-runner/pull/74.
This reverts commit ac6dad9fb5071bddd7a95c32cc38e9cc15c57228.
The original commit causes a server-side error when express's default 404 handler gets invoked after the response is set. The default 404 handler attempts to set the status code header, which can't be done since those bits have already been sent.