flake8
passed.
JSHint
passed.
Review Request #14269 — Created Dec. 13, 2024 and submitted
RBTools 5.1 introduced new support for filename-based mimetype guessing
usingpuremagic. This madeguess_mimetypekeyword-only, but we still
had a call site that was passing in positional arguments, causing it to
crash when uploading binary files.This fixes up the call site, and changes
guess_mimetypeto go through
the standard function signature deprecation process so call sites can
continue to pass in positional arguments with a deprecation warning.
Unit tests pass.
| Summary | ID |
|---|---|
| 1d5d06fa5e284cdcaf3490da68a4a7d52cd09c08 |