lib/protocol/http/headers.rb in protocol-http-0.12.3 vs lib/protocol/http/headers.rb in protocol-http-0.13.0

- old
+ new

@@ -21,10 +21,11 @@ # THE SOFTWARE. require_relative 'header/split' require_relative 'header/multiple' require_relative 'header/cookie' +require_relative 'header/connection' module Protocol module HTTP # Headers are an array of key-value pairs. Some header keys represent multiple values. class Headers @@ -143,10 +144,10 @@ 'if-unmodified-since' => false, 'from' => false, 'location' => false, 'max-forwards' => false, - 'connection' => Split, + 'connection' => Header::Connection, # Headers specifically for proxies: 'via' => Split, 'x-forwarded-for' => Split,