Commit Graph

  • 97bb9e037b Lint L. Kärkkäinen 2020-01-21 14:23:49 +0200
  • c710497d69 Code cleanup in file responses. L. Kärkkäinen 2020-01-21 14:21:05 +0200
  • bffdb3b5c2 More robust response datatype handling (#1674) L. Kärkkäinen 2020-01-20 18:34:32 +0200
  • e908ca8cef [Trio] Quick fixes to make Sanic usable on hypercorn -k trio myweb.app (#1767) L. Kärkkäinen 2020-01-20 18:29:06 +0200
  • bb2bbe2f91 lint L. Kärkkäinen 2020-01-20 18:20:25 +0200
  • 858388401d mypy ignore for aiofiles/trio. L. Kärkkäinen 2020-01-20 18:12:31 +0200
  • 7ee12d2b63 Quick'n dirty compatibility and autodetection of hypercorn trio mode. L. Kärkkäinen 2020-01-20 18:05:23 +0200
  • 801595e24a Add server.start_serving and server.serve_forever to AsyncioServer proxy object, to match asyncio-python3.7 example doc, fixes #1754 (#1762) Ashley Sommer 2020-01-21 01:00:48 +1000
  • ba9b432993 No tracebacks on normal errors and prettier error pages (#1768) L. Kärkkäinen 2020-01-20 16:58:14 +0200
  • 251dc8eac8 lint L. Kärkkäinen 2020-01-20 14:32:05 +0200
  • 8e20c884ff No logging of 503 errors after all. L. Kärkkäinen 2020-01-20 14:31:13 +0200
  • 859183f982 Fix lookup of non-existant status codes L. Kärkkäinen 2020-01-20 14:28:05 +0200
  • 96c84a730e Cleanup, make error pages (probably) HTML5-compliant and similar for debug and non-debug modes. L. Kärkkäinen 2020-01-20 14:15:17 +0200
  • 2256eb0224 Auto-set quiet flag also when decorator is used. L. Kärkkäinen 2020-01-20 14:14:32 +0200
  • e7d78ecf35 Remove extra includes L. Kärkkäinen 2020-01-20 12:11:51 +0200
  • deb229db13 Refactor HTML formatting into errorpages.py. String escapes for debug tracebacks. L. Kärkkäinen 2020-01-20 12:05:21 +0200
  • 781ee932f2 Ability to flag any exception object with self.quiet = True following @ashleysommer suggestion. L. Kärkkäinen 2020-01-20 10:41:07 +0200
  • 5a607ff879 Tests passing. L. Kärkkäinen 2020-01-20 09:47:13 +0200
  • ac331f1686 Default error handler now only logs traceback on 500 errors and all responses are HTML formatted. L. Kärkkäinen 2020-01-20 09:26:01 +0200
  • 5ad728663b Quick fixes to make Sanic usable on hypercorn -k trio myweb.app L. Kärkkäinen 2020-01-19 18:49:04 +0200
  • 1bacaa26b4 Linter nazi says you need that empty line. L. Kärkkäinen 2020-01-15 14:33:29 +0200
  • 27301b883f Tests were failing, fix connection info. L. Kärkkäinen 2020-01-15 14:32:25 +0200
  • 055ad6bd6d Merge branch 'master' into bind_unix_and_ipv6 L. Kärkkäinen 2020-01-15 14:01:19 +0200
  • 17c2f71226 Linter errors L. Kärkkäinen 2020-01-15 13:27:21 +0200
  • 9cd962aaad Avoid duplicate response header tweaking code. L. Kärkkäinen 2020-01-15 12:55:05 +0200
  • 5eef71ae3e Add back missing import. L. Kärkkäinen 2020-01-15 12:54:31 +0200
  • 715b15b453 Add deprecation warnings; instead of assert for wrong HTTP version, and for non-string response.text. L. Kärkkäinen 2020-01-15 12:10:12 +0200
  • 9cf0dffb5d Revert "Remove StreamingHTTPResponse.get_headers helper function." L. Kärkkäinen 2020-01-15 11:35:55 +0200
  • 966b2f96bc Add back HTTPResponse Keep-Alive removed by earlier merge or something. L. Kärkkäinen 2020-01-15 11:31:54 +0200
  • 9651e6ae01 Remove StreamingHTTPResponse.get_headers helper function. L. Kärkkäinen 2020-01-15 11:27:26 +0200
  • 7704814019 Merge remote-tracking branch 'upstream/master' into bodybytes L. Kärkkäinen 2020-01-15 10:53:48 +0200
  • b565072ed9 Allow route decorators to stack up again (#1764) Ashley Sommer 2020-01-11 15:50:16 +1000
  • d6d5f9e5cf Merge remote-tracking branch 'upstream/master' into multi-route-stack Ashley Sommer 2020-01-11 15:17:01 +1000
  • fdaf70bde5 Apply fix to @websocket routes docorator too Add test for double-stacked websocket decorator remove introduction of new variable in route wrapper, extend routes in-place. Add explanation of why a handler will be a tuple in the case of a double-stacked route decorator Ashley Sommer 2020-01-11 15:15:27 +1000
  • caa1b4d69b Fix dangling comma in arguments list for HTTPResponse in response.empty() (#1761) Ashley Sommer 2020-01-11 13:58:01 +1000
  • 865536c5c4 Simplify status code to text lookup (#1738) Liran Nuna 2020-01-10 06:43:44 -0800
  • 50797a9548 Found another black error, including another dangling comma Ashley Sommer 2020-01-10 13:55:27 +1000
  • 52bb04f69f Allow route decorators to stack up without causing a function signature inspection crash Fix #1742 Ashley Sommer 2020-01-10 13:53:28 +1000
  • 77f0ddb9c3 Add server.start_serving and server.serve_forever to AsyncioServer proxy object, to match asyncio-python3.7 example doc, fixes #1754 Ashley Sommer 2020-01-10 13:09:05 +1000
  • d92a6f058c Fix dangling comma arguments list for HTTPResponse in response.empty() Ashley Sommer 2020-01-10 12:52:16 +1000
  • 7b5d9dd77c Run black and cleanup code Adam Hopkins 2020-01-09 22:55:56 +0200
  • 95692555a5 Add version parameter to websockets Adam Hopkins 2020-01-09 22:55:02 +0200
  • 784d5cce52
    Merge pull request #1755 from Lagicrus/empty-response Eli Uriegas 2020-01-04 19:15:24 -0800
  • 0fd08c6114 Update response.rst Lagicrus 2020-01-04 21:26:03 +0000
  • cd779b6e4f Update response.rst Lagicrus 2020-01-04 19:51:50 +0000
  • 3430907046 fix 1748 : Drop DeprecationWarning in python 3.8 (#1750) 好风 2020-01-04 12:20:42 +0800
  • 2f776eba85
    Release v19.12.0 (#1747) Eli Uriegas 2020-01-03 11:50:33 -0800
  • 99a7e9b9b1 Add Python 3.8 to tests and package classifiers Adam Hopkins 2020-01-03 00:05:44 +0200
  • b9cd2ed1f1
    Merge pull request #1751 from huge-success/master Adam Hopkins 2020-01-02 23:45:08 +0200
  • bb9ff7cec1 Set version v19.12.2 Adam Hopkins 2020-01-02 23:31:30 +0200
  • 850b63f642
    Merge pull request #1743 from eric-nieuwland/master v19.12.1 Adam Hopkins 2020-01-02 23:17:35 +0200
  • 158f881a7e
    fix 1748 : Drop DeprecationWarning in python 3.8 好风 2020-01-02 11:36:21 +0800
  • a9c669f17b
    Forgotten slot Eric Nieuwland 2019-12-28 15:21:27 +0100
  • 075affec23
    Release v19.12.0 (#1740) Stephen Sadowski 2019-12-27 07:10:46 -0600
  • 3411a12c40 Pipfile crud removed v19.12.0 Stephen Sadowski 2019-12-26 18:50:52 -0600
  • 28899356c8 Bumping up version from 19.12.0 to 19.12.0 Stephen Sadowski 2019-12-26 18:47:56 -0600
  • 2b5f8d20de ci: Add python nightlies to test matrix (#1710) Eli Uriegas 2019-12-25 16:50:31 -0800
  • 95ac84f372 Simplify status code to text lookup Liran Nuna 2019-12-23 15:46:15 -0800
  • 243f240e5f Add RFC labels to stale exclusion list (#1737) Adam Hopkins 2019-12-24 01:31:33 +0200
  • 0a25868a86 HTTP1 header formatting moved to headers.format_headers and rewritten. (#1669) L. Kärkkäinen 2019-12-24 01:30:45 +0200
  • fccbc1adc4 Allow empty body without Content-Type; Introduce response.empty() (#1736) Liran Nuna 2019-12-23 12:16:53 -0800
  • 1db41bed76
    Add RFC labels to stale exclusion list Adam Hopkins 2019-12-23 10:21:35 +0200
  • e8fabac3f6 Allow empty body without Content-Type; Introduce response.empty() Liran Nuna 2019-12-21 21:55:51 -0800
  • 3f6a978328 Swap out requests-async for httpx (#1728) Adam Hopkins 2019-12-21 05:23:52 +0200
  • a6077a1790 GIT-37: fix blueprint middleware application (#1690) Harsha Narayana 2019-12-20 21:31:05 +0530
  • 6fa48c498f Remove documentation references to requests-async in favor of httpx Adam Hopkins 2019-12-20 00:42:46 +0200
  • 179a07942e
    Merge pull request #1734 from seemethere/testing_host Eli Uriegas 2019-12-18 16:50:59 -0800
  • c3aed01096
    testing: Add host argument to SanicTestClient Eli Uriegas 2019-12-18 16:02:33 -0800
  • 625bb5389d Finalize httpx adoption and resolve tests Adam Hopkins 2019-12-18 11:29:55 +0200
  • 028778ed56 Fix #1714 (#1716) 7 2019-12-16 07:46:18 -0800
  • bbfcd0788d
    Merge branch 'master' into fix-abort-call-in-stream-handler Stephen Sadowski 2019-12-16 09:24:07 -0600
  • 0730c7e276 Fix tests L. Kärkkäinen 2019-12-15 19:21:25 +0200
  • e039feffee Fix typing issues. request.server_name returns empty string if host header is missing. L. Kärkkäinen 2019-12-15 19:09:54 +0200
  • 6bebfddac7 Merge remote-tracking branch 'upstream/master' into trio (probably b0rked) L. Kärkkäinen 2019-12-15 18:52:32 +0200
  • 3967faf44e Add html test for __html__ and _repr_html_. L. Kärkkäinen 2019-12-15 18:40:25 +0200
  • eb349fe5b5 Add an empty line to make isort happy. L. Kärkkäinen 2019-12-15 14:07:07 +0200
  • 6cfd764084 Workaround MyPy issue. L. Kärkkäinen 2019-12-15 14:05:48 +0200
  • 347fd96e72 Merge remote-tracking branch 'upstream/master' into bodybytes L. Kärkkäinen 2019-12-15 13:44:58 +0200
  • f74dfbd302 Add an import missed in merge. L. Kärkkäinen 2019-12-15 13:28:37 +0200
  • 8214bcbf32 Merge remote-tracking branch 'upstream/master' into bind_unix_and_ipv6 L. Kärkkäinen 2019-12-15 13:24:44 +0200
  • fc4d8a1f0e Merge remote-tracking branch 'upstream/master' into headerformat L. Kärkkäinen 2019-12-15 13:17:37 +0200
  • 74495c246c Merge remote-tracking branch 'upstream/master' into headerformat L. Kärkkäinen 2019-12-15 13:00:01 +0200
  • 2d72874b0b Add return type to Sanic.create_server for type hinting and docs (#1724) Adam Bannister 2019-12-12 17:25:13 +0100
  • 4c45d30400 FIX: invalid rst syntax (#1727) Seonghyeon Kim 2019-12-13 01:24:11 +0900
  • d71c02adef Begin swap of requests-async for httpx Adam Hopkins 2019-12-09 15:34:54 +0200
  • 94af4c0389
    FIX: invalid rst syntax Seonghyeon Kim 2019-12-09 16:47:30 +0900
  • bd44edccc7 fix linting Adam Bannister 2019-11-29 17:05:53 +0100
  • b4c074d4e6
    add type hint and doc when create_server returns AsyncioServer Adam Bannister 2019-11-28 17:39:12 +0100
  • ecbe5c839f pass request_buffer_queue_size argument to HttpProtocol (#1717) Junyeong Jeong 2019-11-22 00:33:50 +0900
  • 2d69b35916 add a test code for REQUEST_BUFFER_QUEUE_SIZE Junyeong Jeong 2019-11-20 15:08:22 +0900
  • f3f93bdf64 fix to use simultaneously only one task to put body to stream buffer Junyeong Jeong 2019-11-20 15:07:35 +0900
  • cc722b15d9 pass request_buffer_queue_size argument to HttpProtocol Junyeong Jeong 2019-11-18 16:17:52 +0900
  • 3913073fd7 handle pending task properly after cleanup Yun Xu 2019-11-16 19:59:33 -0800
  • 0a75e2505f fix abort call errors out when calling inside stream handler Yun Xu 2019-11-16 19:52:58 -0800
  • ed1f367a8a Reduce nesting for the sample authentication decorator (#1715) Vinícius Dantas 2019-11-14 17:57:41 -0300
  • a4185a0ba7 Doc rework (#1698) Lagicrus 2019-11-14 20:11:38 +0000
  • c3c80f17da Merge remote-tracking branch 'upstream/master' into doc-rework Lagicrus 2019-11-14 19:42:14 +0000
  • 1b2f01767e Bug fixes and tweaks Lagicrus 2019-11-12 13:30:46 +0000
  • 37378aabea Add missing decorator argument Vinícius Dantas 2019-11-12 09:20:28 -0300
  • 68bfdfed93 Reduce nesting for the sample authentication decorator Vinícius Dantas 2019-11-08 09:01:24 -0300