protocol-http 0.24.5 → 0.24.7

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: eb00073aae0383b460c8cc2138ac73fc9280407c3066ed57b5baf77ea88b3472
4
- data.tar.gz: cea4d88baacbe398003f00540ee409e94578c5089f8ed46c9a0ccb9ad9c88dca
3
+ metadata.gz: 8883fd0b19af80ae8276396f1f122822a8091ab5472a4b474cab27d99000d3ed
4
+ data.tar.gz: a3460cb8df3b9a75e43e6dffb81bd4784b6b3b50d5d88b19c9495c0368f8f9ed
5
5
  SHA512:
6
- metadata.gz: c7ad4d6fdd17b190b64591c9b1141d568d053804164e6129fb09fe095858a4770c75c5dd79e6fa40ca5dcc5a912b2535d92cfd8f3ba514b1145212b3d927a609
7
- data.tar.gz: '08ff03c85eba73b43a640fb7a03be09dc782334b9bc8b0d67c33abeb51bc9ef26070436a01327a9946d15f1e28f408c95028ce2f30d168655b25b09cd70886be'
6
+ metadata.gz: 05f87c3e94f646878d73ab53121c716df5476fa70523d45605e2ad2d83cc52bd36ecca9a59b34d4f3d7b28d44a6a5d6c60dd20b47f542caa97f9f29374cd4591
7
+ data.tar.gz: d975d277a0d58ab7b1d94b36c60aafefac781e5da84623e7abdb928c81734166f2469a08f6bde0747596452652e58d7044d93d6d1902a37d915f60e1f68238a9
checksums.yaml.gz.sig CHANGED
Binary file
@@ -209,8 +209,6 @@ module Protocol
209
209
  'user-agent' => false,
210
210
  'referer' => false,
211
211
  'host' => false,
212
- 'if-modified-since' => false,
213
- 'if-unmodified-since' => false,
214
212
  'from' => false,
215
213
  'location' => false,
216
214
  'max-forwards' => false,
@@ -241,8 +239,13 @@ module Protocol
241
239
  'set-cookie' => Header::SetCookie,
242
240
  'cookie' => Header::Cookie,
243
241
 
242
+ # Date headers:
243
+ # These headers include a comma as part of the formatting so they can't be concatenated.
244
244
  'date' => Header::Date,
245
245
  'expires' => Header::Date,
246
+ 'last-modified' => Header::Date,
247
+ 'if-modified-since' => Header::Date,
248
+ 'if-unmodified-since' => Header::Date,
246
249
  }.tap{|hash| hash.default = Split}
247
250
 
248
251
  # Delete all headers with the given key, and return the merged value.
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Protocol
7
7
  module HTTP
8
- VERSION = "0.24.5"
8
+ VERSION = "0.24.7"
9
9
  end
10
10
  end
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.24.5
4
+ version: 0.24.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -44,7 +44,7 @@ cert_chain:
44
44
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
45
45
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
46
46
  -----END CERTIFICATE-----
47
- date: 2023-08-02 00:00:00.000000000 Z
47
+ date: 2023-08-03 00:00:00.000000000 Z
48
48
  dependencies: []
49
49
  description:
50
50
  email:
metadata.gz.sig CHANGED
Binary file