I recently migrated to Alamofire 5.2
Our backend has incorrect MIME types for images that we're expected to support on the front end e.g. image.jpg instead of image.jpeg
Old version of Alamofire allowed for exceptions using:
DataRequest.addAcceptableImageContentTypes(["image/jpg"])
As can be seen here by Christian Noon on GitHub in the Alamofire Issues.
How do I implement this exception in Alamofire 5.2? I've tried looking at the where the MIME types are referenced and seeing if I could update the array but no luck.