You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Header is now an iterator which is an alias to encoded_multi_items.
Instead of reparsing the headers for every middleware, keep the instance and mimic a fitting generator.- sniff method on Request.
Changed
receive, send are not properties anymore on Request but proper methods. receive has a replay mode for sniff.
Fixed
StaticFiles without scope headers failed.
StaticFiles were susceptible for path traversal attacks.
Calling Request.headers could empty the headers in scope when just a generator.
Messages were not replayed in case ContinueRouting was raised. This prevented sniffing like documented.