Improve cotnent-type detector #188

Closed
opened 2024-12-24 06:36:23 +00:00 by alexvanin · 2 comments
Owner

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.

## 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.
KurlesHS was assigned by alexvanin 2024-12-24 06:36:32 +00:00
alexvanin added this to the v0.33.0 milestone 2025-01-21 06:53:02 +00:00
Author
Owner

Done in #189

Done in #189
Author
Owner

Ported to v0.32.4

Ported to v0.32.4
alexvanin modified the milestone from v0.33.0 to v0.32.4 2025-02-14 11:11:43 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-http-gw#188
No description provided.