I am pretty new to Go. I have some image upload code and I am trying to upload a *.heic image that is produced by iPhones. My code is doing the following:
contentType := http.DetectContentType(fileBytes)
DetectContentType does not know how to detect content type for HEIC, which results in default application/octet-stream content type. Is there a way to add support for new content types that Go does not know how to handle yet?