http-protocol 0.4.0 → 0.5.0
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: 242ba5105135ba4ed2bff4ccef1e1a77fb416788fbf527eb6221de8eb0026225
|
4
|
+
data.tar.gz: 9bbcd87adf08d36f38b44d581a82243494a68adf66d6e63fb6e559de60bb6ac6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a57f0e967f1d74a52c04112eb8d617b974f836f5c898ced1846e29ead3e4fb3a82f503bf7926f8948920637de895ccd9aef7c54066410b2ba9e801cc962352d
|
7
|
+
data.tar.gz: 8bd4615ca2b519412ec0c164639af7dd99e005aaf3cae3f0b7aa8bfb64ba99d57fa12ff3adda731878017b4d2424fae4af0dab51873d9422b101c0aa4c36a1f5
|
@@ -20,10 +20,17 @@
|
|
20
20
|
|
21
21
|
module HTTP
|
22
22
|
module Protocol
|
23
|
-
TRANSFER_ENCODING = 'transfer-encoding'.freeze
|
24
23
|
CONTENT_LENGTH = 'content-length'.freeze
|
24
|
+
|
25
|
+
TRANSFER_ENCODING = 'transfer-encoding'.freeze
|
25
26
|
CHUNKED = 'chunked'.freeze
|
26
27
|
|
28
|
+
CONNECTION = 'connection'.freeze
|
29
|
+
CLOSE = 'close'.freeze
|
30
|
+
KEEP_ALIVE = 'keep-alive'.freeze
|
31
|
+
|
32
|
+
HOST = 'host'.freeze
|
33
|
+
|
27
34
|
class Headers
|
28
35
|
class Split < Array
|
29
36
|
COMMA = /\s*,\s*/
|