JetBrains / kotless

Kotlin Serverless Framework
Apache License 2.0
1.15k stars 57 forks source link

SVG mime-type mapping is incorrect #117

Open dustinconrad opened 2 years ago

dustinconrad commented 2 years ago

I am no expert, but I believe the correct mime-type for SVG is image/svg+xml.

In Http.kt it is image/svg which I don't believe is a valid mime-type. I think this results in generating tf files with as content-type of image/svg instead of image/svg+xml.

EDIT: just looked at PRs, I think #98 actually fixes this, among other things