L. Kärkkäinen
L. Kärkkäinen
Using that module with Sanic wasn't documented yet but it looks like: ```python from sanic.response import html from html5tagger import Document async def handler(...): return html( Document("This is foo") .h1("Foo...
Looks like it is missing setuptools (where that module comes from). Normally Python comes with that installed, but in virtual envs it is apparently not available. Can you try `pip...
Fixed (not tested) on Tracerite git now. Needs a new tracerite release, @ahopkins can you push one out?
Upcoming tracerite-1.1.1 (git main) no longer uses `pkg_resources` so this issue is resolved for good. Still needs Tracerite pypi release and then Sanic depending on the new one.
> Tracerite 1.1.1 still depends on `pkg_resources` so I still get this error. Sorry about that. Can you try if the PR solves this issue so we could get that...
A middleware attached to an API handling JSON and possibly other input formats like that would be useful, but also not something that belongs to Sanic core. You mention parsing...
Thanks for the report. This affects HTTP status ~~304~~ and 412, which are not supposed to have "entity headers" (https://datatracker.ietf.org/doc/html/rfc2616#section-7.1). The response gets sent immediately (use `curl -v`) but without...
Status code 304 is NOT affected because it is correctly handled by `sanic.helpers.has_message_body`. Checking the HTTP RFC, I cannot find why entity headers or body should be stripped off 412...
This appears to change functionality such that streaming requests are no longer of infinite size (which is intended functionality). Can you accomplish the same if you raise that exception in...
Which client sends such requests? This is not normal by any means but the HTTP spec allows including full URL rather than path in request, and for http Sanic can...