Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(encode): add mime-type headers to cache handlers
* feat(encode): add mime-type headers to cache handlers This commit adds a simple MIME-type guessing logic to `onCacheHit` and `onCacheMiss` handlers, which sets `Content-Type` HTTP response header based on format specified by transcoding profile. * Make cacheFile stat() error fatal Co-authored-by: Senan Kelly <senan@senan.xyz> * Make linter happy Good morning to you too, mister linter! Co-authored-by: Senan Kelly <senan@senan.xyz> Co-authored-by: Senan Kelly <senan@senan.xyz>
- Loading branch information