Nothing matches that. Try a shorter search.
| Type | Extensions | Notes |
|---|
Nothing matches that. Try a shorter search.
Build a Content-Type
Text types need a charset. JSON does not: the spec fixes UTF-8. Multipart needs a boundary that appears nowhere in the body.
Look up by file extension
Type an extension or a whole filename.
Build an Accept header
Best first. q ranks alternatives 0 to 1, default 1. No match answers 406.
Content-Encoding and Accept-Encoding
Accept-Encoding: what the client can decompress. Content-Encoding: what the server applied.
Worth compressing?
Not for these: already compressed, or streamed. gzip and br gain nothing.
Build a Cache-Control
no-cache means revalidate. no-store means keep nothing.
Build a Content-Disposition
inline displays, attachment saves. Non-ASCII needs filename*=UTF-8'' plus an ASCII fallback; this builder does both.