diff options
-rw-r--r-- | SPEC.rdoc | 4 | ||||
-rwxr-xr-x | lib/rack/lint.rb | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 |