Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force connection close after protocol upgrade
A new protocol, such as WebSockets or HTTP/2, may manage the framing of multiple messages or requests of that protocol over a single connection. - Close connections after completion of any upgraded response. - Close connections after a response with status code less than 200. Any such response should be only for a protocol upgrade since applications never see any `Expect` header. - Ensure that the `status_code` member always exists on instances of the `Response` class (close #1210).
- Loading branch information