lib/pupa/processor/client.rb in pupa-0.2.0 vs lib/pupa/processor/client.rb in pupa-0.2.1
- old
+ new
@@ -52,12 +52,10 @@
if defined?(MultiXml)
connection.use FaradayMiddleware::ParseXml, preserve_raw: true, content_type: /\bxml$/
end
# Must come after the parser middlewares.
- if FaradayMiddleware.const_defined?(:Gzip)
- connection.use FaradayMiddleware::Gzip
- end
+ connection.use FaradayMiddleware::Gzip
if cache_dir
connection.response :caching do
address = cache_dir[%r{\Amemcached://(.+)\z}, 1]
if address