sanic/tests
L. Kärkkäinen ba1c73d947
Fix issues with after request handling in HTTP pipelining (#2201)
* Clean up after a request is complete, before the next pipelined request.

* Limit the size of request body consumed after handler has finished.

* Linter error.

* Add unit test re: bad headers

Co-authored-by: L. Kärkkäinen <tronic@users.noreply.github.com>
Co-authored-by: Adam Hopkins <admhpkns@gmail.com>
Co-authored-by: Adam Hopkins <adam@amhopkins.com>
2021-07-28 11:40:34 +03:00
..
benchmark Perf improv (#2074) 2021-03-21 09:47:21 +02:00
certs initial commit 2017-03-03 11:44:50 -05:00
fake support app factory patten in CLI (#2157) 2021-06-09 12:05:56 +03:00
performance Fix imports and isort to remove from Makefile deprecated options (#1891) 2020-07-07 16:13:03 +03:00
static Static dir 2075 (#2076) 2021-03-21 15:03:54 +02:00
conftest.py Cleanup conftest and fix warning message (#2147) 2021-05-31 22:41:41 +03:00
skip_test_custom_protocol.py Streaming Server (#1876) 2021-01-11 00:45:36 +02:00
test_app.py Alternatate classes on instantiation for Config and Sanic.ctx (#2119) 2021-06-01 00:21:31 +03:00
test_asgi.py Make sure ASGI ws subprotocols is a list (#2127) 2021-06-21 14:39:06 +03:00
test_bad_request.py squash 2021-02-01 09:56:58 +02:00
test_base.py Cleanup conftest and fix warning message (#2147) 2021-05-31 22:41:41 +03:00
test_blueprint_group.py Allow blueprints and groups to be infinitely reusable (#2150) 2021-06-21 18:41:04 +03:00
test_blueprints.py Require stricter object names (#2146) 2021-05-30 15:37:44 +03:00
test_cli.py Add reloading on addtional directories (#2167) 2021-06-18 11:39:09 +03:00
test_config.py Implement 0.6 routing and some cleanup (#2117) 2021-04-20 00:53:42 +03:00
test_constants.py HTTPMethod enum (#2165) 2021-06-16 15:13:55 +03:00
test_cookies.py Clean up use cases: 2021-02-03 22:36:44 +02:00
test_create_task.py Deprecation and test cleanup (#1818) 2020-03-28 11:43:14 -07:00
test_custom_request.py Streaming Server (#1876) 2021-01-11 00:45:36 +02:00
test_dynamic_routes.py Add SanicBase 2021-01-28 09:18:06 +02:00
test_errorpages.py Add text and json fallback error handlers (#1937) 2020-09-30 15:11:27 +03:00
test_exceptions_handler.py Router tweaks (#2031) 2021-03-01 15:30:52 +02:00
test_exceptions.py fixing static request handler logging exception on 404 (#2099) 2021-04-06 22:20:25 +03:00
test_headers.py Allow 8192 header max to be breached (#2155) 2021-06-04 13:56:29 +03:00
test_helpers.py Add custom request support to ASGI mode; fix a couple tests 2019-06-24 22:59:23 +03:00
test_json_encoding.py JSON encoder change via app (#2055) 2021-03-11 17:09:18 +02:00
test_keep_alive_timeout.py Fix type hinting for load_env (#2107) 2021-04-12 21:31:35 +03:00
test_logging.py Consistent use of error loggers (#2109) 2021-04-10 21:35:53 +03:00
test_logo.py Remove test client (#2009) 2021-01-28 09:22:22 +02:00
test_middleware.py Consistent use of error loggers (#2109) 2021-04-10 21:35:53 +03:00
test_multiprocessing.py Add convenience decorators for new listeners (#2064) 2021-03-16 11:21:05 +02:00
test_named_routes.py v2 AST router (#2133) 2021-06-21 15:10:26 +03:00
test_payload_too_large.py debug and working stage--squash 2021-02-08 12:18:29 +02:00
test_pipelining.py Fix issues with after request handling in HTTP pipelining (#2201) 2021-07-28 11:40:34 +03:00
test_redirect.py deprecate abort (#2077) 2021-04-05 18:01:48 +03:00
test_reloader.py Add reloading on addtional directories (#2167) 2021-06-18 11:39:09 +03:00
test_request_cancel.py GIT-1591 Strict Slashes behavior fix (#1594) 2019-06-06 07:21:58 -05:00
test_request_data.py Fix linting issues 2020-09-29 00:40:24 +03:00
test_request_stream.py deprecate abort (#2077) 2021-04-05 18:01:48 +03:00
test_request_timeout.py fixing static request handler logging exception on 404 (#2099) 2021-04-06 22:20:25 +03:00
test_request.py Added new client_ip accessor (#2114) 2021-06-16 22:34:52 +03:00
test_requests.py v2 AST router (#2133) 2021-06-21 15:10:26 +03:00
test_response_timeout.py Disable response timeout on websocket connections (#2081) 2021-03-23 01:20:17 +02:00
test_response.py 21.6 Changelog, release version, and deprecations (#2172) 2021-06-27 22:52:56 +03:00
test_routes.py v2 AST router (#2133) 2021-06-21 15:10:26 +03:00
test_server_events.py Add some test coverage 2021-02-15 21:50:20 +02:00
test_signal_handlers.py Remove test client (#2009) 2021-01-28 09:22:22 +02:00
test_signals.py Event autoregister (#2140) 2021-06-01 10:44:07 +03:00
test_static.py Resolve regressions in exceptions (#2181) 2021-07-28 11:37:24 +03:00
test_test_client_port.py Remove test client (#2009) 2021-01-28 09:22:22 +02:00
test_timeout_logic.py deprecate abort (#2077) 2021-04-05 18:01:48 +03:00
test_unix_socket.py GIT-2023: Enable GitHub Actions support (#2050) 2021-04-06 23:32:01 +03:00
test_url_building.py v2 AST router (#2133) 2021-06-21 15:10:26 +03:00
test_url_for_static.py Resolve some more tests 2021-02-07 11:38:37 +02:00
test_url_for.py Router tweaks (#2031) 2021-03-01 15:30:52 +02:00
test_utf8.py Swap out requests-async for httpx (#1728) 2019-12-20 19:23:52 -08:00
test_utils.py 21.3 deprecations (#2007) 2021-01-19 01:36:50 +02:00
test_versioning.py Version prefix (#2137) 2021-05-19 13:32:40 +03:00
test_vhosts.py debug and working stage--squash 2021-02-08 12:18:29 +02:00
test_views.py CBV alternate attach; CompositionView deprecate (#2170) 2021-06-21 14:26:42 +03:00
test_worker.py worker 2021-02-08 14:09:41 +02:00