[Issue #1146] Using response.MIMEType rather than (potentially nonexistent) Content-Type headers to determine image data provider