Files
Lukas Kremla 482ab6d5ca Fixed gzip automatic content-type assignment and added automatic compression header configuration (#251)
* Fixed gzip automatic content-type assignment and added automatic compression setting

This implements the fix for detecting the proper content-type even when the file has the ".gz" extension. It further makes sure the compression headers are set properly if a "gz." file is detected, but the compression headers weren't explicitly set by the user.

* Added a test for properly auto-determining mime types and setting content encoding header

* Modified the gzip file header assignments and following tests according to the feedback.

---------

Co-authored-by: Lukáš Kremla <lukas.kremla@bonnel.cz>
2024-08-14 23:02:23 +01:00
..
2019-04-27 14:23:07 +01:00
2019-04-27 14:23:07 +01:00
2019-04-27 14:23:07 +01:00
2019-04-27 14:23:07 +01:00
2019-04-27 14:23:07 +01:00
2019-04-27 14:23:07 +01:00
2019-04-27 14:23:07 +01:00
2019-04-27 14:23:07 +01:00
2019-04-27 14:23:07 +01:00