webrick 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of webrick might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/webrick/httprequest.rb +3 -3
- data/lib/webrick/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 901e5eed67a1747d1b8359f3e22fedeede6c92d35cdc32166428e714d393a505
|
4
|
+
data.tar.gz: ce5277a103aa620bc0228209f4554ea3b9792ffe32b1bdcda24e0fdea8da9e85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0411f18ca5d531964f58fc12d9961c74f14399fe2d0896537a8aae8cc95180c5927eba9c907a4aecaa89443ee1f409bac9574620de085ddfcb87ad4ed856a67e
|
7
|
+
data.tar.gz: 531502100d1c9a38f97987a187f39f245777ef607adcc0d78ee225591e84b90fd17827a506d354dcb4f702d18e5959c29b4326714c08855a7d9edd6b29402aaa
|
data/lib/webrick/httprequest.rb
CHANGED
@@ -226,9 +226,9 @@ module WEBrick
|
|
226
226
|
raise HTTPStatus::BadRequest, "bad URI `#{@unparsed_uri}'."
|
227
227
|
end
|
228
228
|
|
229
|
-
if /
|
229
|
+
if /\Aclose\z/io =~ self["connection"]
|
230
230
|
@keep_alive = false
|
231
|
-
elsif
|
231
|
+
elsif /\Akeep-alive\z/io =~ self["connection"]
|
232
232
|
@keep_alive = true
|
233
233
|
elsif @http_version < "1.1"
|
234
234
|
@keep_alive = false
|
@@ -503,7 +503,7 @@ module WEBrick
|
|
503
503
|
return unless socket
|
504
504
|
if tc = self['transfer-encoding']
|
505
505
|
case tc
|
506
|
-
when /
|
506
|
+
when /\Achunked\z/io then read_chunked(socket, block)
|
507
507
|
else raise HTTPStatus::NotImplemented, "Transfer-Encoding: #{tc}."
|
508
508
|
end
|
509
509
|
elsif self['content-length'] || @remaining_size
|
data/lib/webrick/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webrick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TAKAHASHI Masayoshi
|
8
8
|
- GOTOU YUUZOU
|
9
9
|
- Eric Wong
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-09-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -29,8 +29,8 @@ dependencies:
|
|
29
29
|
description: WEBrick is an HTTP server toolkit that can be configured as an HTTPS
|
30
30
|
server, a proxy server, and a virtual-host server.
|
31
31
|
email:
|
32
|
-
-
|
33
|
-
-
|
32
|
+
-
|
33
|
+
-
|
34
34
|
- normal@ruby-lang.org
|
35
35
|
executables: []
|
36
36
|
extensions: []
|
@@ -85,7 +85,7 @@ metadata:
|
|
85
85
|
bug_tracker_uri: https://bugs.ruby-lang.org/projects/ruby-trunk/issues
|
86
86
|
homepage_uri: https://www.ruby-lang.org
|
87
87
|
source_code_uri: https://git.ruby-lang.org/ruby.git/
|
88
|
-
post_install_message:
|
88
|
+
post_install_message:
|
89
89
|
rdoc_options: []
|
90
90
|
require_paths:
|
91
91
|
- lib
|
@@ -100,8 +100,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
|
-
rubygems_version: 3.0.
|
104
|
-
signing_key:
|
103
|
+
rubygems_version: 3.2.0.rc.1
|
104
|
+
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: HTTP server toolkit
|
107
107
|
test_files: []
|