Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

21.3deprecations #1998

Closed
wants to merge 106 commits into from
Closed

21.3deprecations #1998

wants to merge 106 commits into from

Conversation

ahopkins
Copy link
Member

Removes some deprecations from #1903 and smooths over some compatibility with the old API.

…nger be supported. Chunked mode is now autodetected, so do not put content-length header if chunked mode is preferred.
…), all requests made streaming. A few compatibility issues and a lot of cleanup to be done remain, 16 tests failing.
…timeout=<value> which wasn't the case with existing implementation, and secondly none of the other web servers I tried include this header.
…led. Rewritten using receive_body and case switching to make it fail if bypassed.
@codecov
Copy link

codecov bot commented Jan 10, 2021

Codecov Report

Merging #1998 (ef9a041) into master (7028eae) will decrease coverage by 1.28%.
The diff coverage is 29.54%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1998      +/-   ##
==========================================
- Coverage   92.02%   90.74%   -1.29%     
==========================================
  Files          30       29       -1     
  Lines        3323     3273      -50     
  Branches      579      580       +1     
==========================================
- Hits         3058     2970      -88     
- Misses        183      219      +36     
- Partials       82       84       +2     
Impacted Files Coverage Δ
sanic/utils.py 25.53% <11.42%> (-9.09%) ⬇️
sanic/config.py 100.00% <100.00%> (ø)
sanic/server.py 84.67% <0.00%> (-3.35%) ⬇️
sanic/response.py 92.53% <0.00%> (-2.32%) ⬇️
sanic/worker.py 82.64% <0.00%> (-1.79%) ⬇️
sanic/request.py 98.30% <0.00%> (-0.90%) ⬇️
sanic/http.py 77.65% <0.00%> (-0.47%) ⬇️
sanic/testing.py 92.59% <0.00%> (-0.27%) ⬇️
sanic/errorpages.py 98.42% <0.00%> (-0.10%) ⬇️
sanic/router.py 96.07% <0.00%> (-0.06%) ⬇️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7028eae...ef9a041. Read the comment docs.

@ahopkins ahopkins closed this Jan 10, 2021
@ahopkins ahopkins deleted the 21.3deprecations branch January 10, 2021 23:56
@ahopkins ahopkins restored the 21.3deprecations branch January 18, 2021 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants