protocol-http1 0.36.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 137f467965c9f6d92343158ba1b30189ee672fe8a971d3f30217b3e795ae94e7
4
- data.tar.gz: 22626362ed6f0579303487ab839324dc4bf5e499f0af5dd5ee5103bd83d1d401
3
+ metadata.gz: b8ed289fdd31ce464d53ec0d87533f948cb000c05a966a53280f0d666a3f61e8
4
+ data.tar.gz: 88b8c7cd528012574849c4a221a6040139f884355affeebb8e1b9fd1666b69a2
5
5
  SHA512:
6
- metadata.gz: 5f2a0846b2d60f1f6fbeaf9975010b6016dafd12d837b4357cfa0ba5d9bd05bbfac5b8ccc786b32cd3b181549f318e0d066fcea38cde3859d3ad7f85a62349ad
7
- data.tar.gz: 13b18ef8bfff8bcbaca1c6031c65cf5612d8e75a1e86a3af23e572933b2b1c60290ece5bd82bac8103913142962baf21214abef8089daead1d66ce79115e30c5
6
+ metadata.gz: d21bc4fbd87fcb529f4eb367ce740fa31389f352dc7c9e5739e07be8b75c0233f97efdd28f8f9dffaa58c9fb482625c4c176eaae7b61ca1d38e665212a709128
7
+ data.tar.gz: 6d2784704a5e2a54f0ab742daf0514c14989bedd9578226d7ac74c6416deefa30c59e8bf7e0e715275c340ff6c7bd92275d9444918a21f799c4e899b695c844c
checksums.yaml.gz.sig CHANGED
Binary file
@@ -21,6 +21,7 @@ module Protocol
21
21
 
22
22
  # The request was not able to be parsed correctly, or failed some kind of validation.
23
23
  class BadRequest < Error
24
+ include Protocol::HTTP::BadRequest
24
25
  end
25
26
 
26
27
  # A header name or value was invalid, e.g. contains invalid characters.
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Protocol
7
7
  module HTTP1
8
- VERSION = "0.36.0"
8
+ VERSION = "0.37.0"
9
9
  end
10
10
  end
data/readme.md CHANGED
@@ -30,6 +30,10 @@ Please see the [project documentation](https://socketry.github.io/protocol-http1
30
30
 
31
31
  Please see the [project releases](https://socketry.github.io/protocol-http1/releases/index) for all releases.
32
32
 
33
+ ### v0.37.0
34
+
35
+ - `Protocol::HTTP1::BadRequest` now includes `Protocol::HTTP::BadRequest` for better interoperability and handling of bad request errors across different HTTP protocol implementations.
36
+
33
37
  ### v0.36.0
34
38
 
35
39
  - Indicate trailers from chunked body for better validation by `Protocol::HTTP::Headers`.
@@ -69,10 +73,6 @@ Please see the [project releases](https://socketry.github.io/protocol-http1/rele
69
73
 
70
74
  - Make `authority` header optional in HTTP requests for improved flexibility.
71
75
 
72
- ### v0.29.0
73
-
74
- - Add block/yield interface to `read_request` and `read_response` methods.
75
-
76
76
  ## Contributing
77
77
 
78
78
  We welcome contributions to this project.
data/releases.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Releases
2
2
 
3
+ ## v0.37.0
4
+
5
+ - `Protocol::HTTP1::BadRequest` now includes `Protocol::HTTP::BadRequest` for better interoperability and handling of bad request errors across different HTTP protocol implementations.
6
+
3
7
  ## v0.36.0
4
8
 
5
9
  - Indicate trailers from chunked body for better validation by `Protocol::HTTP::Headers`.
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.36.0
4
+ version: 0.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file