You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- 1I'm on my cell, so havn't tried it properly, but try pasting the urls into fabianstiehle.com/mimetype which I think will return the mime type.davidgo– davidgo2022-01-05 06:26:29 +00:00Commented Jan 5, 2022 at 6:26
- 3I don't think CDNs typically control the mime type. They just pass the mime type from the origin server along.Stephen Ostermiller– Stephen Ostermiller ♦2022-01-05 11:16:07 +00:00Commented Jan 5, 2022 at 11:16
- 1@StephenOstermiller - I largely agree - but if the objects live in the CDN as appears to be the case here per the users first sentence (he specifically states images are stored), the CDN is a web server.davidgo– davidgo2022-01-05 16:00:59 +00:00Commented Jan 5, 2022 at 16:00
- @davidgo i'm using AWS s3 and cloudfront to serve the images. So the images are stored in s3 and cached in cloudfront.Maurice– Maurice2022-01-05 20:48:18 +00:00Commented Jan 5, 2022 at 20:48
- 2@davidgo i just confirmed that the browser issue was caused because my application did not set the mimetype. I've changed the code so that the mimetype is included on each upload and now the image is displayed normally again, Thank you!Maurice– Maurice2022-01-05 21:53:56 +00:00Commented Jan 5, 2022 at 21:53
| Show 2 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. google-analytics), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you