diff options
author | Reto Kaiser <reto@retoonline.com> | 2018-12-05 23:11:29 +0300 |
---|---|---|
committer | Reto Kaiser <reto@retoonline.com> | 2018-12-05 23:11:29 +0300 |
commit | 52e9febadad57fb11e33d5d895408de7ef14f3a6 (patch) | |
tree | 3c94359a618428c64e56e58008573c9440879f7c /shared | |
parent | 4e04c013fba8e0c1294904b52bcb2cbaad27cb52 (diff) |
Set the "Content-Type" only based on the file extension
This prevents false content-type detection based on the file contents, when they are gzipped.
Closes #181
Diffstat (limited to 'shared')
-rw-r--r-- | shared/pages/group/group.test.io/public/image-nogzip.unknown | bin | 0 -> 14 bytes | |||
-rw-r--r-- | shared/pages/group/group.test.io/public/image.unknown | bin | 0 -> 14 bytes | |||
-rw-r--r-- | shared/pages/group/group.test.io/public/image.unknown.gz | bin | 0 -> 46 bytes | |||
-rw-r--r-- | shared/pages/group/group.test.io/public/text-nogzip.unknown | 1 | ||||
-rw-r--r-- | shared/pages/group/group.test.io/public/text.unknown | 1 | ||||
-rw-r--r-- | shared/pages/group/group.test.io/public/text.unknown.gz | bin | 0 -> 37 bytes |
6 files changed, 2 insertions, 0 deletions
diff --git a/shared/pages/group/group.test.io/public/image-nogzip.unknown b/shared/pages/group/group.test.io/public/image-nogzip.unknown Binary files differnew file mode 100644 index 00000000..edaf2b97 --- /dev/null +++ b/shared/pages/group/group.test.io/public/image-nogzip.unknown diff --git a/shared/pages/group/group.test.io/public/image.unknown b/shared/pages/group/group.test.io/public/image.unknown Binary files differnew file mode 100644 index 00000000..edaf2b97 --- /dev/null +++ b/shared/pages/group/group.test.io/public/image.unknown diff --git a/shared/pages/group/group.test.io/public/image.unknown.gz b/shared/pages/group/group.test.io/public/image.unknown.gz Binary files differnew file mode 100644 index 00000000..4d71e2ad --- /dev/null +++ b/shared/pages/group/group.test.io/public/image.unknown.gz diff --git a/shared/pages/group/group.test.io/public/text-nogzip.unknown b/shared/pages/group/group.test.io/public/text-nogzip.unknown new file mode 100644 index 00000000..b6fc4c62 --- /dev/null +++ b/shared/pages/group/group.test.io/public/text-nogzip.unknown @@ -0,0 +1 @@ +hello
\ No newline at end of file diff --git a/shared/pages/group/group.test.io/public/text.unknown b/shared/pages/group/group.test.io/public/text.unknown new file mode 100644 index 00000000..b6fc4c62 --- /dev/null +++ b/shared/pages/group/group.test.io/public/text.unknown @@ -0,0 +1 @@ +hello
\ No newline at end of file diff --git a/shared/pages/group/group.test.io/public/text.unknown.gz b/shared/pages/group/group.test.io/public/text.unknown.gz Binary files differnew file mode 100644 index 00000000..484e01a1 --- /dev/null +++ b/shared/pages/group/group.test.io/public/text.unknown.gz |