-
-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* First pass at version 0.2 * Add click to requirements * Add RequestResponseCycle * Checks around request/response state * Building out tests with starlette. Lots of improved error handling. * Run tests against both H11Protocol and HttpToolsProtocol * HTTP 1.0 test case * WebSocket support re-introduced for httptools * Add server: and date: headers * Black formatting * Fix logging with gunicorn * Move worker class, add run() function. * Update docs, and include markdown on pypi * Include py3.7-dev in travis matrix * Drop 3.7-dev due to apparent issues with async generators * Comment out streaming test to check if async generators error still raised * Bump to 3.6 temporarily. * Drop hanging websocket tests temporarily * Rework tests to not require py3.6+ * Use __slots__ * Minor tweak on logging for consistency * Track total_requests * Default to port 8000 * Uncomment websocket tests that don't appear to hang * See if thread.join() resolves hanging on travis * Downgrade websockets version
- Loading branch information
1 parent
b693fa6
commit 07c6c18
Showing
18 changed files
with
1,601 additions
and
1,028 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
gunicorn | ||
click | ||
h11 | ||
httptools | ||
uvloop | ||
websockets | ||
websockets==3.3 | ||
|
||
# Testing | ||
pytest | ||
|
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.