webrick 1.8.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of webrick might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/webrick/httpresponse.rb +2 -2
- data/lib/webrick/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a401983074ecea6a30f8227ed888b735b3cdceadde14a7030b391cc45f948c2c
|
4
|
+
data.tar.gz: d40f18576cb9c335439796b1cdd92c7faf515ef944deb53c517fdf8c8390a79a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e5edb6d6798b75aafd9d16787f910e7a4beaf5cb7762af1c9f5add5725b037547bd875e9df8bc1f9ca18bcd3fa5839d25a566891f64cd55b9f145e8735e02b2
|
7
|
+
data.tar.gz: 7d3ffd0d2db521ca3ee6cdb3d8a7e448037d9694ceae62737b71d887e8089902ee71a2b334970dabad2767085b771c315a968993f6df83429f8f957d40ae72a8
|
data/lib/webrick/httpresponse.rb
CHANGED
@@ -122,7 +122,7 @@ module WEBrick
|
|
122
122
|
@status = HTTPStatus::RC_OK
|
123
123
|
@reason_phrase = nil
|
124
124
|
@http_version = HTTPVersion::convert(@config[:HTTPVersion])
|
125
|
-
@body =
|
125
|
+
@body = +""
|
126
126
|
@keep_alive = true
|
127
127
|
@cookies = []
|
128
128
|
@request_method = nil
|
@@ -441,7 +441,7 @@ module WEBrick
|
|
441
441
|
# :stopdoc:
|
442
442
|
|
443
443
|
def error_body(backtrace, ex, host, port)
|
444
|
-
@body = +
|
444
|
+
@body = +""
|
445
445
|
@body << <<-_end_of_html_
|
446
446
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
447
447
|
<HTML>
|
data/lib/webrick/version.rb
CHANGED