Improve cotnent-type detector #188
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-http-gw#188
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe
HTTP Gateway is suitable to upload static web-pages: html and css files.
However current content-type detector picks
plain/text
for such files.It produces some issues for browsers when they display static web-page content.
Describe the solution you'd like
Investigate how we can improve content-type detecting mechanism, maybe use different libraries or check filename extension.
Done in #189
Ported to v0.32.4