| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-06-04 | 1.8 kB | |
| v2.6.3 source code.tar.gz | 2026-06-04 | 2.1 MB | |
| v2.6.3 source code.zip | 2026-06-04 | 2.2 MB | |
| Totals: 3 Items | 4.3 MB | 0 | |
- Fix #673:
JWTOpenIDTokensHandler.authenticatewas discarding theIdentityreturned by the innerauth_handler, causingrequest.identityto always be empty. Also fixes the refresh token not being attached to the identity when a refresh token header is present. - Fix #675: fix
OverflowErrorwhen serving large files inefficiently;get_chunksinscribe.pyxused a Cintloop variable that overflows for responses larger than ~2 GB. Changed toPy_ssize_t. - Fix potential
OverflowErrorincookies.pyx:Cookie.max_ageand the local variable inparse_cookiewere declared as Cint; changed tolong long. - Fix #674: OpenAPI generator crashed with
AttributeErrorwhen a handler returnedAsyncIterable[ServerSentEvent](or anycollections.abcasync-iterable generic)._try_get_schema_for_genericnow skips types whose origin has no__parameters__. - Feature #679: add
on_responseasync callback toserve_files()andserve_files_dynamic(). The callback receives(request, response)and can mutate the response in-place (e.g. inject a dynamicContent-Security-Policyheader). It is called for every response produced by the static file handler. - Fix #643:
use_authorization()no longer overrides exception handlers that the user has already registered forUnauthorizedError,ForbiddenError,AuthenticateChallenge, orRateLimitExceededError. Framework defaults are now installed viasetdefaultso user-defined handlers win regardless of registration order; by @jbbqqf.