From 8e31fa3b72892f7421b85b5a79d71a2d726ccddd Mon Sep 17 00:00:00 2001 From: schneems Date: Thu, 21 Aug 2014 11:52:25 -0500 Subject: Address comments on Gzip implementation - don't mutate PATH_INFO in env, test - test fallback content type matches Rack::File - change assertion style - make HTTP_ACCEPT_ENCODING comparison case insensitive - return gzip path from method instead of true/false so we don't have to assume later - don't allocate un-needed hash. Original comments: https://github.com/rails/rails/commit/ cfaaacd9763642e91761de54c90669a88d772e5a#commitcomment-7468728 cc @jeremy --- .../fixtures/\345\205\254\345\205\261/gzip/foo.zoo.gz" | Bin 0 -> 38457 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 "actionpack/test/fixtures/\345\205\254\345\205\261/gzip/foo.zoo.gz" (limited to 'actionpack/test/fixtures/公共/gzip/foo.zoo.gz') diff --git "a/actionpack/test/fixtures/\345\205\254\345\205\261/gzip/foo.zoo.gz" "b/actionpack/test/fixtures/\345\205\254\345\205\261/gzip/foo.zoo.gz" new file mode 100644 index 0000000000..f62c656dc8 Binary files /dev/null and "b/actionpack/test/fixtures/\345\205\254\345\205\261/gzip/foo.zoo.gz" differ -- cgit v1.2.3