protocol-rack 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7dae79721011ba76b6565ae1e575bc39a2675906d8d7779030874b3da925c8a5
4
- data.tar.gz: a8d80d07330a9f17a4d346b3e134187d63153becbbfb05ae2cd403b347e6ad26
3
+ metadata.gz: 698f8f014b44c23f6f975059abff65a0baa7c237c5e6e396fac1a3da3ad47a9d
4
+ data.tar.gz: b90f97e4ead49e5741505f08781f8684dc38ed9f3307aa94535cf734549a9aef
5
5
  SHA512:
6
- metadata.gz: 2d695b98ff03053fd4245f6441d7409f2d13ba1804ed0d34e739acf2e0c8d648b62c7f32f18a1f812ad0b63b3f7a5fca250d82970cbf0ac83c0149abfe6ce508
7
- data.tar.gz: 59a25f01bb637d9b5100f2609d714801a58cbc1ccb8373836ec11b2539cf80300be3f48ebd30590102ad59d4ca29c9c83d18788719cf6d527ecd8bf8f3b4f5dc
6
+ metadata.gz: ca48e4164ec6e0100add61bccdde2022d4eb7e3913481e8f688baab5799bbc2266a1188d9f0f1813af259ec88548f814e25e0ec4f0ef159421103365766857e2
7
+ data.tar.gz: b8e71d453c0ff35b2542c9483cd1fd0d17216934a4f4dda27d2ab6c2b516a65edfa7d7a9dcd00775cdbe4e85cbe16973ba380723e04c80734070ca8196136b82
checksums.yaml.gz.sig CHANGED
Binary file
@@ -69,7 +69,7 @@ module Protocol
69
69
  self.unwrap_headers(request.headers, env)
70
70
 
71
71
  # For the sake of compatibility, we set the `HTTP_UPGRADE` header to the requested protocol.
72
- if protocol = request.protocol and request.version.start_with?('http/1')
72
+ if protocol = request.protocol and request.version.start_with?('HTTP/1')
73
73
  env[CGI::HTTP_UPGRADE] = Array(protocol).join(",")
74
74
  end
75
75
 
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Protocol
7
7
  module Rack
8
- VERSION = "0.3.0"
8
+ VERSION = "0.3.1"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file