summary refs log tree commit
diff options
context:
space:
mode:
-rw-r--r--SPEC3
-rw-r--r--lib/rack/lint.rb3
2 files changed, 4 insertions, 2 deletions
diff --git a/SPEC b/SPEC
index 7e3af40a..a5999b39 100644
--- a/SPEC
+++ b/SPEC
@@ -200,7 +200,8 @@ have been sent.
 In order to do this, an application may set the special header
 <tt>rack.hijack</tt> to an object that responds to <tt>call</tt>
 accepting an argument that conforms to the <tt>rack.hijack_io</tt>
-protocol.
+protocol.  Unlike normal response headers, <tt>rack.hijack</tt>
+is case-sensitive.
 After the headers have been sent, and this hijack callback has been
 called, the application is now responsible for the remaining lifecycle
 of the IO. The application is also responsible for maintaining HTTP
diff --git a/lib/rack/lint.rb b/lib/rack/lint.rb
index 54d37822..6eb24764 100644
--- a/lib/rack/lint.rb
+++ b/lib/rack/lint.rb
@@ -573,7 +573,8 @@ module Rack
       ## In order to do this, an application may set the special header
       ## <tt>rack.hijack</tt> to an object that responds to <tt>call</tt>
       ## accepting an argument that conforms to the <tt>rack.hijack_io</tt>
-      ## protocol.
+      ## protocol.  Unlike normal response headers, <tt>rack.hijack</tt>
+      ## is case-sensitive.
       ##
       ## After the headers have been sent, and this hijack callback has been
       ## called, the application is now responsible for the remaining lifecycle