Avatar for the aio-libs user
aio-libs
aiohttp
BlogDocsChangelog

Performance History

Latest Results

Fix parse_mimetype ignoring whitespace-only segments after semicolons When a MIME type string contains a trailing semicolon followed by whitespace (e.g. 'text/html; ' or 'text/html; charset=utf-8; '), the whitespace-only segment was not being skipped, resulting in a spurious empty-key parameter ({"": ""}) being added to the parsed MimeType's parameters dict. The existing check 'if not item: continue' only skips truly empty strings (from a trailing bare semicolon like 'text/html;'), but not whitespace-only strings produced by 'text/html; '. Fix: use 'if not item.strip(): continue' to also skip whitespace-only segments, consistent with RFC 2045 which requires parameter names to be non-empty tokens.
JSap0914:fix/parse-mimetype-whitespace-segment
17 minutes ago
[pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci
JSap0914:fix/parse-content-disposition-ows-before-semicolon
24 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
Fix parse_mimetype producing spurious empty-key parameter for whitespace-only segments after semicolons#13010
29 minutes ago
08ef461
JSap0914:fix/parse-mimetype-whitespace-segment
CodSpeed Performance Gauge
0%
Bump actions/cache from 6.0.0 to 6.1.0#13005
18 hours ago
912cccc
dependabot/github_actions/3.15/actions/cache-6.1.0
CodSpeed Performance Gauge
0%
18 hours ago
4bc79ca
dependabot/github_actions/actions/cache-6.1.0
© 2026 CodSpeed Technology
Home Terms Privacy Docs