Commit Graph

  • 0e33d46ead Try not to stringify exception in logging messages Markus Unterwaditzer 2018-09-29 22:20:20 +0200
  • efbacc17cf unittests passing on windows again Alec Buckenheimer 2018-09-29 13:54:47 -0400
  • bd6dbd9090 Fix TypeError when use Blueprint.group() to group blueprint with default url_prefix, Use os.path.normpath to avoid invalid url_prefix like api//v1 jacob 2018-09-29 18:23:16 +0800
  • 4821cbb32b fix issue #1139 ryanrain2016 2018-09-29 10:00:56 +0800
  • 60fb316b02 fix issue #1139 ryanrain2016 2018-09-28 18:19:06 +0800
  • 984e4ba62a fix issue #1139 ryanrain2016 2018-09-28 18:18:43 +0800
  • e89342b36c fix issue #1139 ryanrain2016 2018-09-28 16:02:19 +0800
  • c9a6797ef3
    Merge branch 'master' into master LionHeart 2018-09-27 23:32:06 +0800
  • 0e2df7a348
    Merge branch 'master' into patch-3 Ave 2018-09-27 14:12:51 +0300
  • 076cf51fb2
    Merge pull request #1305 from Stranger6667/app-fixture Eli Uriegas 2018-09-26 18:30:46 -0700
  • f8a6af1e28 Rename the http module to helpers to prevent conflicts with the built-in Python http library (fixes #1323) Igor Hatarist 2018-09-25 20:46:40 +0300
  • 96912f436d Corrected Raphael Deem's name in changelog - sorry @r0fls! Stephen Sadowski 2018-09-24 09:05:58 -0500
  • f0e162442f
    Merge branch 'master' into app-fixture Raphael Deem 2018-09-21 15:16:00 -0700
  • 41d8cbe4f0
    Merge 2b0b2c796f into 04b8dd989f veelion 2018-09-17 14:09:54 +0000
  • 96ec0d6c1e
    Remove content_type variable Ave 2018-09-17 08:47:12 +0300
  • 04b8dd989f
    Merge pull request #1315 from seemethere/multidocs Eli Uriegas 2018-09-15 19:03:56 +0200
  • 5851c8bd91 revised formatting for CHANGELOG.md Stephen Sadowski 2018-09-14 13:30:57 -0500
  • 78efcf93f8 Updated changelog for all accepted PRs from 0.7.0 to Current Stephen Sadowski 2018-09-14 10:56:32 -0500
  • bb35bc3898 Add multidict to readthedocs environment.yml Eli Uriegas 2018-09-14 16:00:29 +0200
  • caf6942c75
    Change content type to file type on File.type Ave 2018-09-14 16:30:04 +0300
  • f38783bdef
    Merge pull request #1 from huge-success/master Stephen Sadowski 2018-09-14 08:20:37 -0500
  • d8f9986089
    Re-releasing with updated credentials 0.8.3 Channel Cat 2018-09-13 02:24:31 -0700
  • 3e616b599a
    update encrypted creds for new org Channel Cat 2018-09-13 02:17:27 -0700
  • d38fc17191
    Update version to test pypi 0.8.2 Channel Cat 2018-09-13 01:50:32 -0700
  • 7ae0eb0dc3
    Transfer ownership Channel Cat 2018-09-13 01:39:24 -0700
  • 036fc80b9e created methods to append and finish body content on request.py so the underlying body instance can have certain flexibility; modified server.py to reflect these changes Richard Kuesters 2018-09-10 14:44:43 -0300
  • 9082eb56a7
    Update version to circumvent pypi upload errors 0.8.1 Channel Cat 2018-09-06 13:51:31 -0700
  • c578974246
    Switch to websockets 6.0 Igor Gnatenko 2018-09-02 09:19:19 +0200
  • fec81ffe73
    Reuse app fixture in tests dmitry.dygalo 2018-08-26 16:43:14 +0200
  • f38099513f fix packaging module do not have version attribute Oliver 2018-08-19 21:18:03 +0800
  • 30e6a310f1 Pausable response streams (#1179) Ashley Sommer 2018-08-19 11:12:13 +1000
  • a87934d434
    Merge pull request #1292 from seemethere/increment_080 0.8.0 Eli Uriegas 2018-08-17 11:52:47 -0700
  • b398c1fe72 Increment to 0.8.0 Eli Uriegas 2018-08-17 11:43:15 -0700
  • 6f813f940e
    Merge pull request #1278 from ashleysommer/graceful_cancel Eli Uriegas 2018-08-17 11:41:39 -0700
  • 124f7fc1d5
    Merge 8f8454ae13 into d52498b787 rickxu 2018-08-17 18:41:00 +0000
  • d52498b787
    Merge pull request #1284 from ashleysommer/aiohttp_update Eli Uriegas 2018-08-17 11:40:49 -0700
  • 79e35bbdf6 Fix auto_reload in Linux (#1286) Ashley Sommer 2018-08-17 16:30:03 +1000
  • b1bf5d1628
    Fix flake8 formatting on PR Ashley Sommer 2018-08-17 14:45:26 +1000
  • 1814ff05f4 Add sse extension (#1288) Innokenty Lebedev 2018-08-16 21:59:58 +0300
  • 97b9dc69ea Add sse extension inn0kenty 2018-08-16 21:36:13 +0300
  • 980a3540e4 Fix two problems with the auto_reloader in Linux. 1) Change 'posix' to 'linux' in sys.plaform check, because 'posix' is an invalid value and 'linux' is the correct value to use here. 2) In kill_process_children, don't just kill the 2nd level procs, also kill the 1st level procs. Also in kill_process_children, catch and ignore errors in the case that the child proc is already killed. Ashley Sommer 2018-08-16 17:15:04 +1000
  • ec226e33cb Pin aiohttp <= 3.2.1 in requirements-dev.txt (fixes errors for new contributors checking out the code and setting up a dev environment) Future-proof the some test cases so they work with aiohttp >= 3.3.0, in case we bump the aiohttp version in the future. Ashley Sommer 2018-08-16 15:00:23 +1000
  • fa62786721
    Merge cc8368acf6 into 6abdf9f9c1 Jeff Wen 2018-08-16 03:16:32 +0000
  • 6abdf9f9c1 fixed #1143 (#1276) hqy 2018-08-16 01:23:04 +0800
  • ff1707046b add an immature blueprint filter fduxiao 2018-08-13 16:19:37 +0800
  • 8dec7f37dd add filter for app fduxiao 2018-08-13 16:05:59 +0800
  • 8f8454ae13
    Merge pull request #1 from channelcat/master rickxu 2018-08-10 10:03:11 +0800
  • ec30d9e0a8
    remove commented out code from a test file Ashley Sommer 2018-08-08 09:35:53 +1000
  • 212da1029e disabled auto_reload by default in windows (#1280) abuckenheimer 2018-08-07 14:48:18 -0400
  • 0af666b784 disabled auto_reload by default in windows Alec Buckenheimer 2018-08-07 14:30:19 -0400
  • afea15e4a7 Add a test for the graceful CancelledError handling. The user app should _never_ see a CancelledError bubble up, nor should they be able to catch it, because the response is already sent at that point. Ashley Sommer 2018-08-06 15:02:12 +1000
  • 39ff02b6e4 Modifications the handle_request function to detect and gracefully handle the case that the request_handler Task is canceled by the sanic server while it is handling the request. One common occurrence of this is when the server issues a ResponseTimeout error, it also cancels the response_handler Task. The Canceled exception handler purposely sets response to None to drop references to the handler coroutine, in an attempt to preemptively release resources. This commit also fixes a possible reference-before-assignment of the response variable in the handle_request function. Finally, another byproduct of this change is that ResponseMiddleware will no longer run if the response is None. Ashley Sommer 2018-08-06 14:12:30 +1000
  • c31cef59b6 fixed build failed with create_serve call _helper failed huangqiyin 2018-07-31 17:47:20 +0800
  • d5e549b6db fixed #1143 huangqiyin 2018-07-31 17:07:35 +0800
  • 2b0b2c796f
    Update request.py veelion 2018-07-30 10:34:43 +0800
  • bc3760e6d5
    Merge c055cf912d into b238be54a4 adamhz 2018-07-22 20:13:25 +0000
  • b238be54a4 Add content_type flag to Sanic.static (#1267) Cosmo Borsky 2018-07-21 01:31:15 -0400
  • 363d645c5c Remove content_type as an arg to HTTPResponse Cosmo Borsky 2018-07-20 19:40:49 -0400
  • 377c9890a3 Support status code for file reponse (#1269) Cosmo Borsky 2018-07-20 16:39:10 -0400
  • 2a0c2892e9 Support status code for file reponse Cosmo Borsky 2018-07-19 15:55:31 -0400
  • 81be176226 Fix content_type for file streams Cosmo Borsky 2018-07-19 02:15:50 -0400
  • c26cdf79be Fix flake8 error in travis Cosmo Borsky 2018-07-19 01:54:12 -0400
  • a6aa6d2371 Add content_type flag to Sanic.static Cosmo Borsky 2018-07-19 01:04:54 -0400
  • eaee44c717 Flake8 fixes Tom Christie 2018-07-18 15:13:29 +0100
  • 134ebd5069 ASGI Proof-of-concept Tom Christie 2018-07-18 14:37:54 +0100
  • 32d0822910
    Update extensions.md Tim&Anna 2018-07-17 09:21:38 +0800
  • 599834b0e1 Add subprotocols param to add_websocket_route (#1261) ciscorn 2018-07-17 04:20:26 +0900
  • a39a7ca9d5 Add url_bytes to Request (#1258) John Doe 2018-07-16 21:13:27 +0200
  • 6ae64da00a
    Update extensions.md Tim&Anna 2018-07-16 23:29:06 +0800
  • cd22745e6b Sanitize the URL before redirecting (#1260) Ave 2018-07-13 07:31:33 +0300
  • 9b876e03a5
    Remove check for resulting URL on header injection test Ave O 2018-07-12 23:14:00 +0300
  • e8a6f5b791
    Add tests for redirect url sanitizing Ave O 2018-07-12 12:46:00 +0300
  • 334649dfd4 Fix response ci header (#1244) 7 2018-07-11 01:44:21 -0700
  • becbc5f9ef fix one example and add one example (#1257) fanjindong 2018-07-11 16:42:34 +0800
  • 299b198bec Add subprotocols param to add_websocket_route Taku Fukada 2018-07-09 14:32:31 +0900
  • 0693e61c74
    Whitelist all reserved characters from rfc3986 Ave 2018-07-07 19:51:47 +0300
  • 35a17659a5
    fix build Ave 2018-07-07 19:47:33 +0300
  • e41ee4c554
    Fix query params Ave 2018-07-07 19:39:57 +0300
  • b220654c19
    Use safe url instead of unsafe one Ave 2018-07-07 19:16:46 +0300
  • 9e21c90a59
    URL Quote the URL before redirecting Ave 2018-07-07 19:06:29 +0300
  • eba7398211 fix one example and add one example fanjindong 2018-07-05 14:38:25 +0800
  • 54152f13a8 travisci retry build Yun Xu 2018-07-04 10:33:02 -0700
  • 7af87dd81a
    update docs Ashley Sommer 2018-07-04 22:58:00 +1000
  • 5f47987cd4
    Add url_bytes to Request John Doe 2018-07-04 11:26:50 +0200
  • 5118c6d388
    Merge 3dee1ab8f7 into f9b29fd7e7 John Doe 2018-07-04 07:03:00 +0000
  • 7d6000c7d1 resolve conflicts Yun Xu 2018-07-03 22:21:55 -0700
  • a7dd73c657
    Merge pull request #23 from channelcat/master 7 2018-07-03 22:12:02 -0700
  • f9b29fd7e7 py37 (#1256) 7 2018-07-03 22:07:08 -0700
  • 6317f2d2e5 bump websockets version for py37 support and fix unit tests Yun Xu 2018-07-03 21:35:20 -0700
  • 45af91b6ba sudo: true in .travici Yun Xu 2018-07-03 20:59:52 -0700
  • 67bef0f993 use dist:xenial for py37 Yun Xu 2018-07-03 20:57:54 -0700
  • 849a4a3aa8 add py37 to travisci Yun Xu 2018-07-03 20:34:33 -0700
  • 3dee1ab8f7
    Add _url_bytes slot to Request John Doe 2018-07-04 04:13:11 +0200
  • 64a8673f08 consolidate check in for loop Yun Xu 2018-06-28 08:06:28 -0700
  • 8a73f1ef8a make flake8 happy Yun Xu 2018-06-27 22:40:38 -0700
  • 4937be6f8e omit test coverage for __main__.py Yun Xu 2018-06-27 22:35:34 -0700
  • d3125cbf76 add version constraint for multidict Yun Xu 2018-06-27 22:28:17 -0700
  • 40bdc11882 fix cookie Yun Xu 2018-06-27 22:26:32 -0700
  • 5775767c7b use multidict for headers Yun Xu 2018-06-27 20:20:55 -0700
  • 49620a10af resolving conflicts Yun Xu 2018-06-26 23:39:05 -0700