protocol-http 0.23.4 → 0.23.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/protocol/http/cookie.rb +1 -1
- data/lib/protocol/http/middleware/builder.rb +1 -1
- data/lib/protocol/http/middleware.rb +9 -0
- data/lib/protocol/http/url.rb +1 -1
- data/lib/protocol/http/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3684eaed45be5b2982d7e66469f286d48ab654903603ec9067b9d4c5753e9426
|
4
|
+
data.tar.gz: 68af8b829774b8674a9892f7ae2174c272c1faac17b01906797310edc5067e5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a38afbc159583cbdb66c98b6bbfdce31b7fbe7280b232a17ea70879ec897bd8ee78330ecdebadaaf1053853bcc6bad2fb87fd7b4dc722a0fa25ba14c1f04158d
|
7
|
+
data.tar.gz: efe7d17b35892fcd393c6f47bc2845ff76144ad8d88d365d277969cc3f8fad87ed14e40b10d08bfc9857673a5e425613b3bc5c5d98f38d5c40698354b467b79b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/protocol/http/cookie.rb
CHANGED
@@ -67,6 +67,15 @@ module Protocol
|
|
67
67
|
Response[200, Headers['content-type' => 'text/plain'], ["Hello World!"]]
|
68
68
|
end
|
69
69
|
end
|
70
|
+
|
71
|
+
module NotFound
|
72
|
+
def self.close
|
73
|
+
end
|
74
|
+
|
75
|
+
def self.call(request)
|
76
|
+
Response[404, Headers[], []]
|
77
|
+
end
|
78
|
+
end
|
70
79
|
end
|
71
80
|
end
|
72
81
|
end
|
data/lib/protocol/http/url.rb
CHANGED
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.23.
|
4
|
+
version: 0.23.7
|
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: 2022-08-
|
44
|
+
date: 2022-08-26 00:00:00.000000000 Z
|
45
45
|
dependencies:
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: bundler
|
metadata.gz.sig
CHANGED
Binary file
|