openzim / gutenberg

Scraper for downloading the entire ebooks repository of project Gutenberg
https://download.kiwix.org/zim/gutenberg
GNU General Public License v3.0
126 stars 37 forks source link

Wrong MIME type #185

Closed Popolechien closed 1 year ago

Popolechien commented 1 year ago

From a user:

I inform you that the file wikipedia_ru_all_nopic_2023-05.zim and the earlier ones contain the following error: the file js/l10n.js has wrong MIME type text/html while all other .js files have the correct application/javascript type.

Seems to be a recurring issue

Popolechien commented 1 year ago

User wrote back to clarifiy that it wasn't Wikipedia in the end but gutenberg_en_all_2023-05.zim...

rgaudin commented 1 year ago

Fixed ; we don't set many mimetypes manually but this one was specifically set to HTML instead of JS.