protocol-http1 0.29.0 → 0.30.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: 9bb4702073bd3765421e3806d098c9d0e842f5a82497559ad242a282c4e67021
4
- data.tar.gz: db6a5b8da784a1ed7b0273a3986138b27c558db89b6477eb27645dcbd6d2e0fb
3
+ metadata.gz: a8e19e671a7c4596842f4bcc2a8b82e395a24ed3754c8205625747223fd574f5
4
+ data.tar.gz: 5a911681a3193eebc65d5a329045d413e2508ef2b20f28a4abe52bf6b09aad57
5
5
  SHA512:
6
- metadata.gz: 7cd9daa93a559f61419a767451733e75151a4e6ca38b28edd3241ef4ff33cee3878303ba7b5aca8d483016c3ca9b2fc48fdbf0a38be4b51c1b74cb511aaae569
7
- data.tar.gz: 8b546aed69866e812d10c334aa546298516deb30e5acd7b47cee76fe27cf772b866486aee3350580c76105789a582c0a413e508194ba0146a3fc0f5c8ecb25f9
6
+ metadata.gz: a40371b329727872dd04be0a0902e771c7a3231a4262380c84c4abfa96065a73d4088b0f3fc2c0b25b8f1882cd03ba6e888d786018934b1a5230a4c3676fbb54
7
+ data.tar.gz: 7fa713254161dad9802b8783c45f290f30993f1957ce64d4d2dd3718e699d8195a6e56dc9991aeba06c2c773be83e672b7f522e093ee3de30187ec8a1b0198bb
checksums.yaml.gz.sig CHANGED
Binary file
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2019-2024, by Samuel Williams.
4
+ # Copyright, 2019-2025, by Samuel Williams.
5
5
  # Copyright, 2019, by Brian Morearty.
6
6
  # Copyright, 2020, by Bruno Sutic.
7
7
  # Copyright, 2023-2024, by Thomas Morgan.
@@ -224,11 +224,11 @@ module Protocol
224
224
  return self
225
225
  end
226
226
 
227
- def write_request(authority, method, path, version, headers)
227
+ def write_request(authority, method, target, version, headers)
228
228
  open!
229
229
 
230
- @stream.write("#{method} #{path} #{version}\r\n")
231
- @stream.write("host: #{authority}\r\n")
230
+ @stream.write("#{method} #{target} #{version}\r\n")
231
+ @stream.write("host: #{authority}\r\n") if authority
232
232
 
233
233
  write_headers(headers)
234
234
  end
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # Released under the MIT License.
4
- # Copyright, 2019-2024, by Samuel Williams.
4
+ # Copyright, 2019-2025, by Samuel Williams.
5
5
 
6
6
  module Protocol
7
7
  module HTTP1
8
- VERSION = "0.29.0"
8
+ VERSION = "0.30.0"
9
9
  end
10
10
  end
data/license.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT License
2
2
 
3
- Copyright, 2019-2024, by Samuel Williams.
3
+ Copyright, 2019-2025, by Samuel Williams.
4
4
  Copyright, 2019, by Brian Morearty.
5
5
  Copyright, 2020, by Olle Jonsson.
6
6
  Copyright, 2020, by Bruno Sutic.
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.29.0
4
+ version: 0.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -41,7 +41,7 @@ cert_chain:
41
41
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
42
42
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
43
43
  -----END CERTIFICATE-----
44
- date: 2025-01-28 00:00:00.000000000 Z
44
+ date: 2025-01-29 00:00:00.000000000 Z
45
45
  dependencies:
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: protocol-http
metadata.gz.sig CHANGED
Binary file