Skip to content
New issue

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

Ensure content-type of html articles #6

Open
r0qs opened this issue Mar 22, 2022 · 0 comments
Open

Ensure content-type of html articles #6

r0qs opened this issue Mar 22, 2022 · 0 comments

Comments

@r0qs
Copy link
Owner

r0qs commented Mar 22, 2022

Bee infers the content type of files in a tar archive based on their extension.
Sadly, many zim html articles do not have an extension, which leads to wrong content types of the uploaded files.
By default mime.TypeByExtension returns an empty string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant