Skip to content
This repository was archived by the owner on Feb 9, 2024. It is now read-only.
This repository was archived by the owner on Feb 9, 2024. It is now read-only.

Content-Type encoding #92

@EatonZ

Description

@EatonZ

When using getAssetFromKV, it infers the Content-Type of the requested asset and sets it to the Content-Type header. That code is here.

The issue is that for Content-Types such as text/html and text/plain, it is often preferred to append this: "; charset=utf-8". This does not happen currently.

Of course I can do this myself, but something like this should be built-in. Maybe as a new option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions