shabiel / M-Web-Server

A YottaDB and Caché compatible HTTP server
Apache License 2.0
24 stars 19 forks source link

Zipping .woff2 returns incorrect data to the web browser/client #59

Closed shabiel closed 2 years ago

shabiel commented 2 years ago

Bad:

Access-Control-Allow-Origin: *
Cache-Control: max-age=604800
Content-Encoding: gzip
Content-Length: 250388
Content-Type: font/woff2
Date: Wed, 20 Jul 2022 13:38:22 GMT

Correct:

Content-Encoding: gzip
Content-Length: 250752
Content-type: application/octet-stream
Date: Wed, 20 Jul 2022 13:36:37 GMT
Last-Modified: Wed, 20 Jul 2022 13:25:53 GMT
Server: SimpleHTTP/0.6 Python/2.7.13
shabiel commented 2 years ago

Fixed by d57aa6e.