v0.1.6
What's Changed
HTTP transport fix
- Add
_DrainRequestMiddlewareto ensure the HTTP request body is fully consumed before the WSGI response is returned. FixesTypeError("Can't read from request stream after response has been sent.")on Cloudflare Workers when error paths (invalid tokens, malformed requests) returned a response without draining the request body.
Full Changelog: v0.1.5...v0.1.6