Fix S3 Content Type 作者: DuPont9029
Forza il Content-Type a text/html per i file .html su bucket S3 specifici.
擴充套件後設資料
關於此擴充套件
This extension solves a known issue with some S3 buckets (such as Cubbit) where HTML files are served with incorrect headers (Content-Type: application/octet-stream or Content-Disposition: attachment), forcing the browser to download the file instead of displaying it as a web page.
What it does: Automatically intercepts requests to *.s3.cubbit.eu domains and corrects the HTTP response headers “on the fly”:
What it does: Automatically intercepts requests to *.s3.cubbit.eu domains and corrects the HTTP response headers “on the fly”:
- Sets Content-Type: text/html for .html files.
- Removes Content-Disposition to prevent forced downloads.
Result: Web pages hosted on your S3 bucket will once again be visible and navigable directly in the browser, without the need for complex server-side or proxy configurations.
由 1 位評論者給出 0 分
權限與資料
更多資訊