protocol-http 0.61.0 → 0.62.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: e6d9c6ec1ad76ece9ce8c4224638dd9b6ca28396de3d987d66c11cc4bd67f1d1
4
- data.tar.gz: 6a1e7f875bcde396e3596278f0e99dbf3dceab1b0466c4e8ef36c483830eb71c
3
+ metadata.gz: e9f4bf9ac69b32d6d157fd1398af71f7f6830d2a01ae7a97a9b8a7814e27721f
4
+ data.tar.gz: f9e814e1f3be6e12ff82b0d091c478cc87897eff1189eeba29e52e3b4f4c4d92
5
5
  SHA512:
6
- metadata.gz: 1408f7ca40c1c8ee3ac9593eafabe57577d390e3fdf3c37ea0f7941bc5c746ddc2da2b490da7abf6b2bf4aca852c600aae4ac7637e2768ac591943df8c52370f
7
- data.tar.gz: ae69c4ddce77d7b259e8ff0998cd510bfeb9c7e5d32f1f28794200c07f89ed8197345174087980e7d902ea1b38b4fdb26fa6357b92d1ab9b29a91b073d6e2e68
6
+ metadata.gz: 250ec533ff70f9df98815bfe61c98b87f0bbfdbdc77a83844c18a166baee156f5cdea46476fbc828accb2569a48c0a5647a63f5b6aec53e76f1e92b52e2301dd
7
+ data.tar.gz: 65d87fff6702f96fea8b90ca448e71ada4f652555d6386d2d99ba1ff7956a846851ffcbf087c9ffdae3a1feed303c9893211df4f954cac5f6209a90a75037bde
checksums.yaml.gz.sig CHANGED
Binary file
@@ -9,10 +9,14 @@ module Protocol
9
9
  class Error < StandardError
10
10
  end
11
11
 
12
- # Raised when a request was not processed by the server and can be safely retried, even for non-idempotent methods.
13
- class RequestRefusedError < Error
12
+ # Raised when an HTTP stream or request was refused before any processing occurred.
13
+ # In the case of requests, it indicates that the request was refused before any processing occurred, and can be safely retried.
14
+ class RefusedError < Error
14
15
  end
15
16
 
17
+ # @deprecated Use {RefusedError} instead.
18
+ RequestRefusedError = RefusedError
19
+
16
20
  # Represents a bad request error (as opposed to a server error).
17
21
  # This is used to indicate that the request was malformed or invalid.
18
22
  module BadRequest
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Protocol
7
7
  module HTTP
8
- VERSION = "0.61.0"
8
+ VERSION = "0.62.0"
9
9
  end
10
10
  end
data/readme.md CHANGED
@@ -32,7 +32,7 @@ Please see the [project releases](https://socketry.github.io/protocol-http/relea
32
32
 
33
33
  ### v0.61.0
34
34
 
35
- - Introduce `Protocol::HTTP::RequestRefusedError` for indicating a request was not processed by the server and can be safely retried.
35
+ - Introduce `Protocol::HTTP::RefusedError` for indicating a stream or request was refused before processing and can be safely retried. `RequestRefusedError` is provided as an alias for backwards compatibility.
36
36
 
37
37
  ### v0.60.0
38
38
 
data/releases.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## v0.61.0
4
4
 
5
- - Introduce `Protocol::HTTP::RequestRefusedError` for indicating a request was not processed by the server and can be safely retried.
5
+ - Introduce `Protocol::HTTP::RefusedError` for indicating a stream or request was refused before processing and can be safely retried. `RequestRefusedError` is provided as an alias for backwards compatibility.
6
6
 
7
7
  ## v0.60.0
8
8
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protocol-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
@@ -1,2 +1 @@
1
- j��.��Zb�MS��g��o�+m���s���
2
- L����7M�p�.T
1
+ ������ZZ3��f�IU�qx�"$�6�U��.�;U���ҰZ���z�#+Y�#'=�wq�۪��W`7j���2���[0=��T�㡝���e�?¶G��YQ���DV�ٙ��f�K��e��nJ��jK�XY�^�Xg��_my�q򯥁��f&��Zb��!dͫ^�J�w&|e��3 �B'�(���8�ImS�Ƕ��ii �`�3r�;#��m?�CW�1���O�uf)3w-�A��z��DB�D.j߭�B��E���F��fR�mb�v������ dl�b��n����"��F2���IF�O���Z�X@2`�����NL��s�у��e�|����U��_����?��;��g�%�=�