webrick 1.6.0 → 1.6.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: 3fb619ce6c4c78dad51be27360158b7e70c92ebdaa17c7b67b238c43ede73637
|
4
|
+
data.tar.gz: a9a2262fe7d36731d0d251c800a59d9f266a49811da67d8fb8240339cc1fe884
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 051dbf7d8f19f366b7713835c2cc37c9f8c53c58c0a4d68fc8256d277c2379bc90099437a48fb876e8d3b6c414c417f5d8b9cf092f372a9dd715a7771c6764fb
|
7
|
+
data.tar.gz: 7541dc4794d62c5c6363ccc7da3742e9d61216e5f9a4a3d94418dc3239830320b416eeb464940ad75074802f673055141b7c4937983ede6d1092a888fc6f5df0
|
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.6.
|
4
|
+
version: 1.6.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: []
|