summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SPEC.rdoc4
-rwxr-xr-xlib/rack/lint.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/SPEC.rdoc b/SPEC.rdoc
index 4adbe796..f4c90ab6 100644
--- a/SPEC.rdoc
+++ b/SPEC.rdoc
@@ -84,8 +84,8 @@ Rack-specific variables:
hijack.
<tt>rack.protocol</tt>:: If the request is an HTTP/1 upgrade or
HTTP/2 CONNECT with +:protocol+ pseudo
- header, this is set to the value of that
- header.
+ header, this is set to an +Array+
+ containing the value(s) of that header.
Additional environment specifications have approved to
standardized middleware APIs. None of these are required to
be implemented by the server.
diff --git a/lib/rack/lint.rb b/lib/rack/lint.rb
index b1ebd42d..5f2a0717 100755
--- a/lib/rack/lint.rb
+++ b/lib/rack/lint.rb
@@ -182,8 +182,8 @@ module Rack
## <tt>rack.protocol</tt>:: If the request is an HTTP/1 upgrade or
## HTTP/2 CONNECT with +:protocol+ pseudo
- ## header, this is set to the value of that
- ## header.
+ ## header, this is set to an +Array+
+ ## containing the value(s) of that header.
## Additional environment specifications have approved to
## standardized middleware APIs. None of these are required to