falconry / falcon

The no-magic web data plane API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.
https://falcon.readthedocs.io/en/stable/
Apache License 2.0
9.53k stars 945 forks source link

feat(mediatypes): reimplement (and unvendor) mimeparse #2348

Closed vytas7 closed 1 month ago

vytas7 commented 1 month ago

Unvendoring and rewriting mimeparse functionality:

I believe the code is more or less complete now, and I'm proposing it as is.

Some things that are, however, known to still be work in progress:

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (d45c06c) to head (532b44e). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2348 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 64 64 Lines 7624 7712 +88 Branches 1246 1267 +21 ========================================= + Hits 7624 7712 +88 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

vytas7 commented 1 month ago

The code now has full unit test coverage, but I am still adding more cases.