forked from aio-libs/aiohttp
-
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.
This is based on Cory Benfield's initial work in aio-libs#882 -- essentially, it splices his code directly into the respective classes and tries to remove as much duplication as possible, while adding ugly if/else switches. The resulting server is capable of switching between HTTP/1.1 and (limited) HTTP/2 communication based on the existence of an HTTP/2 PRIamble in the first request. This is NOT PRODUCTION READY and SHOULD NOT BE MERGED. It's just copy-paste code, intended to start showing the seams where we can extract new interfaces and refactor as necessary.
- Loading branch information
Showing
7 changed files
with
382 additions
and
99 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
Oops, something went wrong.