ECHibiki / Kotatsu-V

The version of kotatsu running on 4taba and 4taba2
https://4taba2.net
GNU General Public License v3.0
16 stars 2 forks source link

Webm and Webp data are 8stream #4

Open ECHibiki opened 4 years ago

ECHibiki commented 4 years ago

Some file mime data is either not being written into storage correctly or read correctly. When served to clients it autoreturns 8tetstream mime type and forces some browsers into downloading content like a file.

Could put data into video tags and rework frontend as hack fix, but not best fix

ECHibiki commented 4 years ago

the method to serve images in the ENTRY file doesn't allow you to overwrite headers so no matter what I do it's going to stay as an application/octet until this is modified in artanis to handle a greater number of mime types. Possibly there's another way to serve files that doesn't deal with this issue.

placing it into a video container doesn't autodetect what it kind of data it is either.