http-protocol 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6878c2aaace06793d74e1e5d15672c8e6eec05603b270f180aa9c294d55318be
|
4
|
+
data.tar.gz: 9b95862aa4a58d6f536107d46c9f769e5e16b2168cebafe02fd5f6912dc09b10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8781ccf5b026240587e2c57279043d814019bef9736a1779ea55e42da36e4cb5bb751b708d06be27b616342b318be263c69eb4d609d00d853568e361450bd81
|
7
|
+
data.tar.gz: 3c329fabfdfd669110d12ddd7b3a3153ea9625ddc4dfe44db5e0e316e5bca60065a00d68f299f6ea7f4ddf36c3766d012c36e8d819d685940afc3fd51d0827d6
|
@@ -24,8 +24,14 @@ module HTTP
|
|
24
24
|
module Protocol
|
25
25
|
module HTTP2
|
26
26
|
module Continued
|
27
|
+
def initialize(*)
|
28
|
+
super
|
29
|
+
|
30
|
+
@continuation = nil
|
31
|
+
end
|
32
|
+
|
27
33
|
def end_headers?
|
28
|
-
|
34
|
+
flag_set?(END_HEADERS)
|
29
35
|
end
|
30
36
|
|
31
37
|
def read(io)
|
@@ -68,6 +74,14 @@ module HTTP
|
|
68
74
|
@continuation = nil
|
69
75
|
end
|
70
76
|
end
|
77
|
+
|
78
|
+
def unpack
|
79
|
+
if @continuation.nil?
|
80
|
+
super
|
81
|
+
else
|
82
|
+
super + @continuation.unpack
|
83
|
+
end
|
84
|
+
end
|
71
85
|
end
|
72
86
|
|
73
87
|
# The CONTINUATION frame is used to continue a sequence of header block fragments. Any number of CONTINUATION frames can be sent, as long as the preceding frame is on the same stream and is a HEADERS, PUSH_PROMISE, or CONTINUATION frame without the END_HEADERS flag set.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: http-protocol
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http-hpack
|