Skip to content

image/* is not a valid Content-Type for responses #429

@aram356

Description

@aram356

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

Metadata

Metadata

Labels

No labels
No labels

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions