Summary
When the origin omits a Content-Type for image responses, the fallback is set to image/*. Wildcard MIME types are only valid in Accept headers, not Content-Type. Browsers may not render the image correctly.
Refs
crates/common/src/proxy.rs lines 247-248
Recommendation
Use application/octet-stream as the fallback.
Context
Production readiness audit — see #396
Summary
When the origin omits a Content-Type for image responses, the fallback is set to
image/*. Wildcard MIME types are only valid in Accept headers, not Content-Type. Browsers may not render the image correctly.Refs
crates/common/src/proxy.rslines 247-248Recommendation
Use
application/octet-streamas the fallback.Context
Production readiness audit — see #396