diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2022-08-29 10:09:49 +1200 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2022-08-29 10:09:49 +1200 |
commit | 015e5bca341c252df600821a8cba88fd435d18cf (patch) | |
tree | 92cb67be15e4cef6be6d50cbe266aa80c23f3d8e | |
parent | ab6cd41977b4f7cf80b9790b050c4c3ba5853da7 (diff) | |
download | rack-protocol.tar.gz |
Mention that it is an Array.rack-protocol
-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 |