summaryrefslogtreecommitdiff
path: root/tests/pkgs/static_encodings/__init__.py
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2019-12-15 20:18:16 -0600
committerGitHub <noreply@github.com>2019-12-15 20:18:16 -0600
commitc6340737a4826d4073f0cfa7951dccf42d0cbfcf (patch)
treee5605243e0b52f6444c9f97771ddc89e96c9572b /tests/pkgs/static_encodings/__init__.py
parent948b692469cdcaeb38f37982f0810954c545b920 (diff)
parentf6cb1efa8fba683bdc5c9b4a645f9357fe2e6208 (diff)
downloadpyramid-c6340737a4826d4073f0cfa7951dccf42d0cbfcf.tar.gz
pyramid-c6340737a4826d4073f0cfa7951dccf42d0cbfcf.tar.bz2
pyramid-c6340737a4826d4073f0cfa7951dccf42d0cbfcf.zip
Merge pull request #3537 from mmerickel/negotiate-static-encoding
negotiate the best static asset using supported encodings
Diffstat (limited to 'tests/pkgs/static_encodings/__init__.py')
-rw-r--r--tests/pkgs/static_encodings/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pkgs/static_encodings/__init__.py b/tests/pkgs/static_encodings/__init__.py
new file mode 100644
index 000000000..3b86a1a15
--- /dev/null
+++ b/tests/pkgs/static_encodings/__init__.py
@@ -0,0 +1,2 @@
+def includeme(config):
+ config.add_static_view('/', 'tests:fixtures', content_encodings=['gzip'])