Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fetch all msg headers also for images to always get Content-Location
Previously all headers were only fetched for message/rfc822, or if the Content-Type's "name" parameter was set, or if a Content-ID was set. The RFC doesn't require neither the "name" parameter nor a Content-ID for using Content-Location, though, so we shouldn't depend on those. Instead now all headers are also fetched if the main part of the Content-Type is "image", to catch more cases.
- Loading branch information