rack-reverse-proxy 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/reverse_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: 19ce368e32c93e8d11b28dd20f7c6ff5ac840988
|
4
|
+
data.tar.gz: 2c82dc8ff6c2dd5bd07767058af7e2c97b6b49d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 484743f8df4f78ce6ea52fcda1ff2ca49abf9ad1f0ed0b89532db9ec2a6486c6ea1185fd658a657750f24515cc46335609c33bd4c2d07f03a68d14078ffbb7f6
|
7
|
+
data.tar.gz: ea395476254d838bd1a495937970f3005c0ae59260d0f07b009cfe97d4aabd97fb13b75e58e00b738dd5799bd116a526825fcd2c25efd008732d7293aeaee0c9
|
data/lib/rack/reverse_proxy.rb
CHANGED
@@ -84,6 +84,7 @@ module Rack
|
|
84
84
|
# Let rack set the transfer-encoding header
|
85
85
|
response_headers = Rack::Utils::HeaderHash.new Proxy.normalize_headers(format_headers(target_response.headers))
|
86
86
|
response_headers.delete('Transfer-Encoding')
|
87
|
+
response_headers.delete('Status')
|
87
88
|
|
88
89
|
# Replace the location header with the proxy domain
|
89
90
|
if response_headers['Location'] && options[:replace_response_host]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-reverse-proxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Swope
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-07-
|
14
|
+
date: 2015-07-22 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rake
|