Commit Graph

  • 3f9c94ba4a
    Merge pull request #1635 from huge-success/upgrade-websockets 7 2019-08-12 10:48:56 -0700
  • aa270d3ac2 Add content-type headers in response in ASGI mode Adam Hopkins 2019-08-11 11:27:59 +0300
  • b76bc73599
    fix linting warning Subham Roy 2019-08-11 12:55:31 +0530
  • a15d9552c4
    Merge pull request #1632 from harshanarayana/feature/GIT-1631-Enable_Towncrier 7 2019-08-06 08:33:10 -0700
  • d04fc29223 More linter issues L. Kärkkäinen 2019-07-30 07:17:08 +0300
  • ab3d59a74f Useless linter complaints. L. Kärkkäinen 2019-07-29 19:29:01 +0300
  • 17bdc3db52 Fix string escape. L. Kärkkäinen 2019-07-29 19:18:15 +0300
  • fdcba79f45 PEP 594 has cgi module scheduled for deprecation in Python 3.8. Reimplement cgi.parse_header in Sanic. The new implementation is much faster than either cgi.parse_header or equivalent werkzeug.parse_options_header, and unlike the two, handles also quoted values with semicolons or \" in them. L. Kärkkäinen 2019-07-29 18:20:03 +0300
  • b9b689ff02 Alternative approach to streaming, using async generators instead of a callback (still built on StreaminHTTPResponse). L. Kärkkäinen 2019-07-26 18:36:54 +0300
  • 2363c0653e
    Merge pull request #1640 from Tronic/sockaddrfix 7 2019-07-25 00:10:56 -0700
  • 651c98d19a
    fix: #1631: add ignore file to ensure empty changelog dir is retained Harsha Narayana 2019-07-24 05:39:20 +0530
  • c1a7e0e3cd
    feat: #1631: enable change log as part of release script Harsha Narayana 2019-07-24 05:12:18 +0530
  • 80b32d0c71
    feat: #1631: enable make command to support settings up release Harsha Narayana 2019-07-24 05:03:04 +0530
  • 3842eb36fd
    fix: #1631: fix pyproject toml indentation Harsha Narayana 2019-07-24 04:28:11 +0530
  • a58d64ee57 Compatibility fix. L. Kärkkäinen 2019-07-23 16:02:28 +0300
  • e2efd4643d Fix Windows compatibility by not referring to socket.AF_UNIX unless needed. L. Kärkkäinen 2019-07-23 15:23:58 +0300
  • 5431afd167 Socket binding implemented properly for IPv6 and UNIX sockets. L. Kärkkäinen 2019-07-23 14:45:52 +0300
  • a63875811b Linter L. Kärkkäinen 2019-07-22 17:39:09 +0300
  • 030422df23 Linter L. Kärkkäinen 2019-07-22 17:33:49 +0300
  • 93020473a3 Fix merge commit L. Kärkkäinen 2019-07-22 17:21:48 +0300
  • fdf4c3dfef Merge branch 'sockaddrfix' L. Kärkkäinen 2019-07-22 17:15:50 +0300
  • a34fbcf411 Further tests and stricter forwarded handling. L. Kärkkäinen 2019-07-22 17:04:02 +0300
  • 7c7bedfa5d Fix server crash on request.server_port when bound to IPv6. L. Kärkkäinen 2019-07-22 15:25:21 +0300
  • ea9f520e0d Fix regex. L. Kärkkäinen 2019-07-22 14:56:00 +0300
  • a1d0ecc447 Added IPv6 address tests for Host header. L. Kärkkäinen 2019-07-22 14:55:43 +0300
  • 6971e65b53 Fixed typo in docstring. L. Kärkkäinen 2019-07-22 14:55:10 +0300
  • c05db14fbd Forwarded and Host header parsing improved. L. Kärkkäinen 2019-07-22 14:23:28 +0300
  • bb339fa56f Modify testcase not to use underscores in URLs. Use hyphens which the spec allows for. L. Kärkkäinen 2019-07-22 13:56:42 +0300
  • 63cc2d0ca8 Heil lintnazi. L. Kärkkäinen 2019-07-22 10:55:11 +0300
  • c166f76a0e Revise previous commit. Only fallback for full URL SERVER_NAMEs; allows host to be defined and proxied information still being used. L. Kärkkäinen 2019-07-22 10:38:32 +0300
  • 6c612e4a0e Fallback to app.url_for and let it handle SERVER_NAME if defined (until a proper solution is implemented). L. Kärkkäinen 2019-07-22 10:30:37 +0300
  • 8181450b3e Bugfix for request.server_name: strip port and other parts. L. Kärkkäinen 2019-07-21 19:06:42 +0300
  • 8da60b0ab8 Implement multiple headers support for X-Forwarded-For. L. Kärkkäinen 2019-07-21 15:18:48 +0300
  • e3bbd2c209 Add support for multiple Forwarded headers. Unify parse_forwarded parameters with parse_xforwarded. L. Kärkkäinen 2019-07-21 14:12:32 +0300
  • 296ceec13b Try'n make linter happy. L. Kärkkäinen 2019-07-21 13:12:32 +0300
  • a04617f22d Further tests for full coverage. L. Kärkkäinen 2019-07-21 13:06:36 +0300
  • 9d70054d33 Added tests, fixed quoted string handling, cleanup. L. Kärkkäinen 2019-07-21 12:22:28 +0300
  • dacbf1bf73 Cleanup forwarded processing, add comments. secret is now also returned. L. Kärkkäinen 2019-07-21 09:20:04 +0300
  • 45225b7ebb Try to workaround buggy tools complaining about incorrect ordering of imports. L. Kärkkäinen 2019-07-21 07:52:12 +0300
  • 60c8e7ae91 Fix tests and linting. L. Kärkkäinen 2019-07-20 20:51:46 +0300
  • 6aaec12a77 Remove testing function. L. Kärkkäinen 2019-07-20 18:00:59 +0300
  • 1dd854f80b Update docstrings to incidate that forwarded header is used first. L. Kärkkäinen 2019-07-20 16:58:37 +0300
  • 1838f43eff Cleanup and fix req.server_port; no longer reports socket port if any forwards headers are used. L. Kärkkäinen 2019-07-20 16:52:35 +0300
  • b896454135 Use req.forwarded in req properties server_name, server_port, scheme and remote_addr. L. Kärkkäinen 2019-07-20 16:36:18 +0300
  • f69383db04 Added support for HTTP Forwarded header and combined parsing of other proxy headers. L. Kärkkäinen 2019-07-20 15:46:32 +0300
  • 6823824a83
    check for already set asyncio event loop policy Subham Roy 2019-07-20 15:19:22 +0530
  • 5dafa9a170 bugfix: replace CIMultiDict with compat.Header in all places Yun Xu 2019-07-18 20:11:25 -0700
  • b397637bb9 bugfix: fix incompatible api between multidict and websockets, and bump up websockets version to match uvicorn Yun Xu 2019-07-18 19:57:17 -0700
  • 881efa7e64 Removed empty space in no_no function Joir-dan Gumbs 2019-07-15 17:35:58 -0700
  • d7cf1e271d Added returns documentation item to sanic.exceptions.abort Joir-dan Gumbs 2019-07-15 17:33:47 -0700
  • b2f1e32599 Added return statement to documentation for abort Joir-dan Gumbs 2019-07-15 17:18:52 -0700
  • cea0e2fccd Made fix to abort documentation. Joir-dan Gumbs 2019-07-15 17:15:12 -0700
  • 95a0b2db2c
    fix: #1631: move pyproject.toml to avoid PEP 517 conflict Harsha Narayana 2019-07-14 14:17:38 +0530
  • 83864f890a
    fix: #1631: add common contribution guidelines and towncrier detail to contribution guides Harsha Narayana 2019-07-13 14:10:41 +0530
  • a019ff61e3
    fix: #1631: linter fix and tox platform selector Harsha Narayana 2019-07-13 13:29:17 +0530
  • b3ada6308b
    fix: #1631: add doc test for travis CI Harsha Narayana 2019-07-13 13:20:13 +0530
  • 4e50295bf0
    fix: #1631: add tox test support for documentation Harsha Narayana 2019-07-13 13:00:37 +0530
  • 32eb8abb63
    fix: #1631: add towncrier support and fix documentation warnings Harsha Narayana 2019-07-13 12:52:41 +0530
  • 84b41123f2
    Merge pull request #1625 from harshanarayana/fix/GIT-1623-Cookie_Handling 7 2019-07-10 21:35:35 -0700
  • 23f2d33394
    fix: GIT-1623: fix dict initalization for empty case Harsha Narayana 2019-07-11 06:38:55 +0530
  • 97f288a534
    fix: GIT-1623: handle cookie duplication and serialization issue Harsha Narayana 2019-07-08 13:03:33 +0530
  • 68d5039c5f
    Merge pull request #1624 from huge-success/release-19-6-2 v19.6.2 Adam Hopkins 2019-07-07 05:04:23 +0300
  • 9d07988d75 19.6.2 release Yun Xu 2019-07-06 18:05:44 -0700
  • 1eaa2e3a5f
    Merge pull request #1614 from huge-success/asgi-custom-request v19.6.1 7 2019-07-06 11:47:58 -0700
  • c7f2399ded remove commented code Yun Xu 2019-07-06 11:34:22 -0700
  • 650ab61c2e
    Merge pull request #1619 from huge-success/abc-fix 7 2019-07-04 15:07:53 -0700
  • b7df86e7dd Updated routing docs (#1620) Lagicrus 2019-07-04 13:14:10 +0100
  • 72b445621b Respect X-Forward-* headers and generate correct URLs in url_for (#1465) BananaWanted 2019-07-04 20:13:43 +0800
  • 5ca1e4df47 Adjusted to list Lagicrus 2019-07-03 21:05:59 +0100
  • 39d3bec845 Changed to using code comments to achieve a mono space like display Lagicrus 2019-07-03 20:50:03 +0100
  • fd64beea34 Tweak to call out string not str Lagicrus 2019-07-03 20:41:12 +0100
  • 7be582ddf9 Updated routing docs Lagicrus 2019-07-03 17:17:48 +0100
  • ba0e9baffa Resolve deprecation notice for import of an ABC from collections module Adam Hopkins 2019-07-03 09:39:38 +0300
  • 503622438a
    Merge pull request #1617 from newAM/patch-2 Adam Hopkins 2019-07-01 09:37:40 +0300
  • d5e9aae425
    Fix a minor typo in websocket.rst. Alex 2019-06-30 22:11:02 -0700
  • 48e955989f
    Fix a minor style in websocket.rst. Alex 2019-06-30 22:09:16 -0700
  • 3423ae8cf3 fix: IndexError in request.Request.remote_addr duguiping 2019-06-27 13:33:20 +0800
  • c2b6451c78
    Merge branch 'master' into master Adam Hopkins 2019-06-24 23:11:22 +0300
  • a2666a2b8a Add custom request support to ASGI mode; fix a couple tests Adam Hopkins 2019-06-24 22:49:11 +0300
  • 81ecfc8eca Add custom request class to ASGI mode Adam Hopkins 2019-06-24 20:43:07 +0300
  • 966b05b47e
    Merge pull request #1612 from c-goosen/bandit_security_static_analysis 7 2019-06-24 10:05:20 -0700
  • 78fe97b9cb Add bandit code static analyzer for security, some false positives removed with #nosec. Christo Goosen 2019-06-23 23:20:00 +0200
  • d2094fed38
    Merge pull request #1607 from huge-success/doc-changelog 7 2019-06-21 09:42:12 -0700
  • e2d65ba57c fix readthedoc changelog page Yun Xu 2019-06-20 22:35:47 -0700
  • c9d8ab4b27 release: add 19.6.0 standard release changelog Yun Xu 2019-06-20 22:35:26 -0700
  • 891f99d71d
    Merge pull request #1475 from tomchristie/asgi-refactor-attempt v19.6.0 7 2019-06-20 16:33:44 -0700
  • 3f47fa9f99 Specify websockets version Adam Hopkins 2019-06-19 00:40:44 +0300
  • b1c23fdbaa Increase testing coverage for ASGI Adam Hopkins 2019-06-19 00:15:41 +0300
  • 62e0e5b9ec Increase testing coverage for ASGI Adam Hopkins 2019-06-19 00:15:41 +0300
  • fb61834a2e Add ASGI documentation Adam Hopkins 2019-06-18 09:57:42 +0300
  • 8fbbe94fe1
    Merge pull request #1436 from jotagesales/config_from_object_string 7 2019-06-16 16:58:43 -0700
  • ab706dda7d Resolve linting issues with imports Adam Hopkins 2019-06-11 11:21:37 +0300
  • b2d4132a14
    Merge branch 'master' into asgi-refactor-attempt Adam Hopkins 2019-06-11 11:11:32 +0300
  • 322cf89c92
    Merge pull request #1605 from GTedHa/fix_typo/request_data_md 7 2019-06-10 20:20:12 -0700
  • 09acd64ba1 Fix typo in request_data.md, docs. G.Ted 2019-06-11 11:09:29 +0900
  • 072fcfe03e
    Fix #1587: add support for handling Expect Header (#1600) Eli Uriegas 2019-06-10 14:45:37 -0700
  • 13079c6e30 GIT-1591 Strict Slashes behavior fix (#1594) Harsha Narayana 2019-06-06 17:51:58 +0530
  • 1b1a51c1bb minor: fix typo in error msg Yun Xu 2019-06-04 10:37:03 -0700
  • 39d134994d minor: address pr feedbacks, small refactoring and fix Yun Xu 2019-06-04 10:25:32 -0700
  • 5f9e98554f Run black and manually break up some text lines to correct linting Adam Hopkins 2019-06-04 13:26:05 +0300