Finalize transfer decoding before callbacks
Merged
KL
2mo ago+16+16+01234567890123456789-5-5-0123456789
Summary
- Finalize each
Content-Transfer-Encodingdecoder when its part ends. - Invoke field and file callbacks after decoding is complete.
- Cover trailing buffered quoted-printable data.
Testing
uv run pytestuv run ruff format --check --diff python_multipart multipart testsuv run ruff check python_multipart multipart testsuv run mypy python_multipart multipart tests
AI Disclaimer
This PR was developed with the assistance of either Claude or Codex. I've reviewed and verified the changes.