sinabeuro
39e12accb8
Remove duplicate contents in document
...
Since the contents of line 61 and line 75 of the 'testing' document are
duplicated, the content of line 61 is removed for context.
Signed-off-by: sinabeuro <ican312@hanmail.net>
2020-12-18 12:25:24 +09:00
Adam Hopkins
fc4b7df088
Merge pull request #1961 from huge-success/py39
...
Update testing for Python 3.9
2020-12-10 09:25:12 +02:00
Adam Hopkins
35f28f7a64
Merge branch 'master' into py39
2020-12-09 11:52:49 +02:00
Adam Hopkins
614be40438
Name endpoints at startup ( #1972 )
...
* Name endpoints at startup
* Beautify
* Fix reformatting
2020-11-29 23:26:12 +02:00
Adam Hopkins
bde0428d0c
Update README.rst ( #1973 )
...
Change `.org` to `.com` for transition in Travis.
2020-11-23 02:02:33 +02:00
Trevor Bekolay
63567c2ae4
Add py.typed file ( #1970 )
2020-11-19 11:18:25 +02:00
Ashley Sommer
ec10f337b6
Merge pull request #1969 from all2ham/remove-upper-bound-multidict-pin
...
loosen pin on multidict, add higher upper bound to multidict requirement
2020-11-18 15:25:18 +10:00
allandialpad
d0f0e73e96
remove upper bound for multidict
2020-11-17 11:18:18 -05:00
7
b4fe2c8a6b
bump up aiofile version constraint ( #1967 )
2020-11-06 08:32:04 +02:00
Adam Hopkins
33da0771d1
Merge pull request #1965 from ashleysommer/asgs_chunk_length
...
Fix Chunked Transport-Encoding in ASGI streaming response
2020-11-05 09:02:18 +02:00
Adam Hopkins
75994cd915
Fixes for linting and type hints
2020-11-05 08:49:55 +02:00
Ashley Sommer
c0839afdde
Fix Chunked Transport-Encoding in ASGI streaming response
...
In ASGI-mode, don't do sanic-side response chunk encoding, leave that to the ASGI-response-transport
Don't set content-length when using chunked-encoding in ASGI mode, this is incompatible with ASGI Chunked Transport-Encoding.
2020-11-05 15:27:01 +10:00
Ashley Sommer
5961da3f57
Merge pull request #1960 from huge-success/release-notes-19.12.3-20.9.1
...
Update changelog for 19.12.3 and 20.9.1
2020-10-26 11:43:53 +10:00
Ashley Sommer
41f1809351
Merge branch 'master' into release-notes-19.12.3-20.9.1
2020-10-26 09:58:19 +10:00
Ashley Sommer
5fbdcb62e4
Merge pull request #1962 from huge-success/cli-upgrade
...
Sanic CLI upgrade
2020-10-26 08:31:45 +10:00
Ashley Sommer
677b83e9f8
Merge branch 'master' into release-notes-19.12.3-20.9.1
2020-10-26 08:21:44 +10:00
Adam Hopkins
6a5c8becac
Merge branch 'master' into cli-upgrade
2020-10-25 22:46:37 +02:00
Adam Hopkins
fd23b99d60
Merge pull request #1951 from tomaszdrozdz/Improving-documentation
...
Improving documentation.
2020-10-25 22:45:37 +02:00
Adam Hopkins
634b586df3
Merge branch 'master' into Improving-documentation
2020-10-25 21:32:54 +02:00
Ashley Sommer
4ca3e98082
Add pytest-dependency
requirement to tests_require list in setup.py ( #1955 )
...
Co-authored-by: Adam Hopkins <admhpkns@gmail.com>
2020-10-25 21:31:34 +02:00
Adam Hopkins
d18a776964
squash
2020-10-25 21:22:19 +02:00
Adam Hopkins
d6b4d7d265
Add bionic in travis and change path in appveyor
2020-10-25 21:01:31 +02:00
Adam Hopkins
33ee4c21b3
Add BASE_LOGO to sanic cli
2020-10-25 20:45:06 +02:00
Adam Hopkins
a026cd7195
add --access-logs flag to sanic cli
2020-10-25 20:36:22 +02:00
Adam Hopkins
7b1bce8d90
Add some help messages and a user friendly cli experience
2020-10-25 20:21:09 +02:00
Adam Hopkins
217a7c5161
Small changes to sanic-cli to make it more user friendly
2020-10-25 20:09:42 +02:00
Adam Hopkins
2949e3422d
Add 3.9 to appveyor
2020-10-25 15:37:48 +02:00
Adam Hopkins
16ea99b0c0
Update testing for Python 3.9
2020-10-25 15:21:48 +02:00
Adam Hopkins
19b84ce9f0
Update changelog for 19.12.3 and 20.9.1
2020-10-25 15:11:39 +02:00
Adam Hopkins
e5aed4c067
Ignore writing headers when in ASGI mode ( #1957 )
...
* Ignore writing headers when in ASGI mode for streaming responses
* Move asgi set on streaming until after response type check
* Adds multidict==5.0.0 to pass tests
* Bump version to 20.9.1
2020-10-25 15:01:53 +02:00
Ashley Sommer
9e048bc0c3
Merge pull request #1956 from huge-success/fix-load-module-test
...
Fix load module test
2020-10-25 22:09:24 +10:00
Adam Hopkins
5d7b0735ce
Merge branch 'master' into fix-load-module-test
2020-10-25 08:27:25 +02:00
Adam Hopkins
12521cd5b4
Merge branch 'master' into Improving-documentation
2020-10-25 00:02:32 +03:00
Adam Hopkins
7dbd3eb5e8
Update multidict version
2020-10-24 23:49:55 +03:00
Adam Hopkins
96364aacc0
squash
2020-10-24 23:42:38 +03:00
Adam Hopkins
fc18f86964
Resolve broken test in appveyor
2020-10-24 23:03:25 +03:00
Ashley Sommer
fb3d368a78
Add ability for app.static() to return the routes it created. ( #1954 )
...
This allows blueprint registration to add the bp's static routes to its list of own routes. So now blueprint middlewares will apply to a blueprint's static file routes.
Fixes #1953
2020-10-24 22:57:02 +03:00
tomaszdrozdz
f41435fae3
Improving documentation.
2020-10-19 10:12:20 +02:00
Adam Hopkins
5928c50057
Version 20.9 ( #1940 )
2020-09-30 17:30:21 +03:00
Tomasz Drożdż
1de4bcef55
Update config ( #1903 )
...
* New aproach for uploading sanic app config.
* Update config.rst
Co-authored-by: tigerthelion <bjt.thompson@gmail.com>
Co-authored-by: Adam Hopkins <admhpkns@gmail.com>
2020-09-30 16:44:09 +03:00
Adam Hopkins
7b7559309d
Add issue config.yml ( #1936 )
...
* Add issue config.yml
* Update SECURITY.md
2020-09-30 15:38:08 +03:00
Adam Hopkins
066df2c142
Add text and json fallback error handlers ( #1937 )
...
* Add text and json fallback error handlers
* Add tests and auto-detect error fallback type
2020-09-30 15:11:27 +03:00
Adam Hopkins
0c4a9b1dce
Merge pull request #1909 from brooklet/master
...
fix websocket ping variables issues
2020-09-29 01:08:04 +03:00
Adam Hopkins
65a7060d3b
Merge branch 'master' into master
2020-09-29 00:41:22 +03:00
Adam Hopkins
3483e7b061
Fix linting issues
2020-09-29 00:40:24 +03:00
Adam Hopkins
13094e02bc
Revert check for websocket protocol to use hasattr
2020-09-29 00:24:00 +03:00
Ashley Sommer
ed777e9d5b
Merge pull request #1935 from huge-success/httpx-upgrade
...
Upgrade httpx
2020-09-28 09:06:37 +10:00
Adam Hopkins
8ad80a282a
Merge branch 'master' into httpx-upgrade
2020-09-27 11:20:07 +03:00
Adam Hopkins
0b7eb49839
Merge pull request #1924 from tomaszdrozdz/strict_markers_for_pytest
...
Adding --strict-markers for pytest
2020-09-27 11:18:24 +03:00
Adam Hopkins
de3b40c2e6
Merge branch 'master' into strict_markers_for_pytest
2020-09-27 10:57:31 +03:00