Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorReto Kaiser <reto@retoonline.com>2018-12-05 23:11:29 +0300
committerReto Kaiser <reto@retoonline.com>2018-12-05 23:11:29 +0300
commit52e9febadad57fb11e33d5d895408de7ef14f3a6 (patch)
tree3c94359a618428c64e56e58008573c9440879f7c /shared
parent4e04c013fba8e0c1294904b52bcb2cbaad27cb52 (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.unknownbin0 -> 14 bytes
-rw-r--r--shared/pages/group/group.test.io/public/image.unknownbin0 -> 14 bytes
-rw-r--r--shared/pages/group/group.test.io/public/image.unknown.gzbin0 -> 46 bytes
-rw-r--r--shared/pages/group/group.test.io/public/text-nogzip.unknown1
-rw-r--r--shared/pages/group/group.test.io/public/text.unknown1
-rw-r--r--shared/pages/group/group.test.io/public/text.unknown.gzbin0 -> 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
new file mode 100644
index 00000000..edaf2b97
--- /dev/null
+++ b/shared/pages/group/group.test.io/public/image-nogzip.unknown
Binary files differ
diff --git a/shared/pages/group/group.test.io/public/image.unknown b/shared/pages/group/group.test.io/public/image.unknown
new file mode 100644
index 00000000..edaf2b97
--- /dev/null
+++ b/shared/pages/group/group.test.io/public/image.unknown
Binary files differ
diff --git a/shared/pages/group/group.test.io/public/image.unknown.gz b/shared/pages/group/group.test.io/public/image.unknown.gz
new file mode 100644
index 00000000..4d71e2ad
--- /dev/null
+++ b/shared/pages/group/group.test.io/public/image.unknown.gz
Binary files differ
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
new file mode 100644
index 00000000..484e01a1
--- /dev/null
+++ b/shared/pages/group/group.test.io/public/text.unknown.gz
Binary files differ