pretty_proxy 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pretty_proxy.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c71de1a7325089cea6ee46ebd45882e65119619
|
4
|
+
data.tar.gz: 79bff31288cc6c7723e338e59bf010319b8e2d42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be855fc2ac44bcb2e9cea9b7714288d5fc333e66863bd63deaa5133790d1c65e10bb5e602f53f7ae2c28314a92c9c785ca3c4d77666bf8fe4844ec19884044c6
|
7
|
+
data.tar.gz: e19ea8b24a83f2d20a87d25776da3d77997bab40f0ceb955995888e68f0243f50a25b90d4893096c67c3497b40c3c67a3b5197de8a623731e5bb5d2b0a41d188
|
data/lib/pretty_proxy.rb
CHANGED
@@ -301,6 +301,7 @@ class PrettyProxy < Rack::Proxy
|
|
301
301
|
when 'gzip' then page = Zlib::GzipReader.new(StringIO.new(page)).read
|
302
302
|
when 'deflate' then page = Zlib::Inflate.inflate(page)
|
303
303
|
when 'identity' then page = page
|
304
|
+
when nil then page = page
|
304
305
|
else
|
305
306
|
fail ProxyError, 'unknown content-encoding, only encodings known are gzip, deflate and identity'
|
306
307
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pretty_proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Henrique Becker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-05-
|
11
|
+
date: 2013-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|