shuhaowu / remote-for-pianoteq

GNU Affero General Public License v3.0
16 stars 4 forks source link

Fixed manifest.webmanifest corruption #8

Closed creaktive closed 2 years ago

creaktive commented 2 years ago

Since the file already exists, the removed lines make HTTPServer duplicate the content, becoming:

<HEADERS>
<CONTENT>
<HEADERS>
<CONTENT>

Which results in corrupted JSON. Besides, HTTPServer does "know" the correct Content-Type for .webmanifest extension.