sanic
sanic copied to clipboard
Add Request properties for HTTP method info
Adds three properties to Request
object:
-
is_safe
-
is_idempotent
-
is_cacheable
Codecov Report
Merging #2516 (e36a51e) into main (8e9342e) will increase coverage by
0.027%
. The diff coverage is100.000%
.
@@ Coverage Diff @@
## main #2516 +/- ##
=============================================
+ Coverage 87.403% 87.430% +0.027%
=============================================
Files 69 69
Lines 5565 5577 +12
Branches 969 969
=============================================
+ Hits 4864 4876 +12
Misses 509 509
Partials 192 192
Impacted Files | Coverage Δ | |
---|---|---|
sanic/constants.py | 100.000% <100.000%> (ø) |
|
sanic/request.py | 95.396% <100.000%> (+0.108%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.