plum 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/plum/hpack/context.rb +1 -1
- data/lib/plum/rack/connection.rb +5 -1
- data/lib/plum/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbb3d755285f78919374f46331be663f93b0c2a2
|
4
|
+
data.tar.gz: 7fec872c23645cd58bfaac4498687d7ed30163c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b89109d466c9f33465f45080c664b16e4f897a505837a91d98bc4c2785968ee1899be7cf92f3a94512632eae35c475b43c3a09d5148195d52d1864e3948de838
|
7
|
+
data.tar.gz: 333261402b76c021fcd3385dbd8e6ac8e2a1d77d65155978ebf23fbd08cac2dea8d6401047024850ebaeb311eedecf27d3723b483edc3eb9f71042f8c7e43ba4
|
data/lib/plum/hpack/context.rb
CHANGED
data/lib/plum/rack/connection.rb
CHANGED
@@ -131,7 +131,11 @@ module Plum
|
|
131
131
|
# unknown HTTP/2 pseudo-headers
|
132
132
|
else
|
133
133
|
if "cookie" == k && ebase["HTTP_COOKIE"]
|
134
|
-
ebase["HTTP_COOKIE"]
|
134
|
+
if ebase["HTTP_COOKIE"].frozen?
|
135
|
+
ebase["HTTP_COOKIE"] += "; " << v
|
136
|
+
else
|
137
|
+
ebase["HTTP_COOKIE"] << "; " << v
|
138
|
+
end
|
135
139
|
else
|
136
140
|
ebase["HTTP_" << k.tr("-", "_").upcase!] = v
|
137
141
|
end
|
data/lib/plum/version.rb
CHANGED