forked from adonisjs/http-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve stream response flush headers handling
BREAKING CHANGE: The "response.flushHeaders" method does not call writeHead internally. Instead it calls the res.setHeader method internally. The old behavior of "flushHeaders" method is moved to "response.writeHead" method.
- Loading branch information
1 parent
5c93cbe
commit d011ae8
Showing
1 changed file
with
37 additions
and
11 deletions.
There are no files selected for viewing
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