[1.6.x] Removed a doc reference to the deprecated `mimetype` kwarg.

Backport of 61ed959235 from master