response: allow normal Hash for crafting Range headers
commite8ae2e483e75ad163212cc8d3a7107eb2a014a9c
authorEric Wong <normalperson@yhbt.net>
Wed, 5 Jan 2011 18:56:50 +0000 (5 10:56 -0800)
committerEric Wong <normalperson@yhbt.net>
Wed, 5 Jan 2011 18:59:35 +0000 (5 10:59 -0800)
treee6fde00c498f95f1db199bd54c5a8ad18b28e15b
parent16b24c86cecec0697b35ac321cddd500bc9cfdea
response: allow normal Hash for crafting Range headers

HeaderHash is quite expensive, and Rack::File currently
uses a regular Ruby Hash with properly-cased headers the
same way they're presented in rfc2616.
lib/rainbows/response.rb