We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Context.ServeFile send 'application/wasm' with a wrong extra field
To Reproduce Steps to reproduce the behavior:
app.Get("/{key:path}", func(ctx iris.Context){ ... //get filename : xx.wasm ctx.ServeFile(filename, ctx.ClientSupportsGzip()) })
Expected behavior
The content-type must be 'application/wasm'.
But it will be 'application/wasm; charset=UTF-8' now.
The problem is FireFox72 will report error 'unsupported mime type'.
Otherwise, chrome can work well.
The text was updated successfully, but these errors were encountered:
d107161
@rocket049 thanks for the report! It's fixed now.
Sorry, something went wrong.
fix kataras#1440
d4e38da
Former-commit-id: aaf275d4eedca95ef8d8f8ef79b1ff2eecf2fbc9
kataras
No branches or pull requests
Describe the bug
Context.ServeFile send 'application/wasm' with a wrong extra field
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The content-type must be 'application/wasm'.
But it will be 'application/wasm; charset=UTF-8' now.
The problem is FireFox72 will report error 'unsupported mime type'.
Otherwise, chrome can work well.
The text was updated successfully, but these errors were encountered: