rack/rack — Issue #348: Rack::Lint::LintError: a header value must be a String, but the value of 'Cache-Control' is a Array
Author: mcollina
Created: 2012-02-28 15:00:30+00:00
State: open

I'm just using Rack::ETag

```
Rack::Lint::LintError: a header value must be a String, but the value of 'Cache-Control' is a Array
/home/matteo/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/lint.rb:19:in `assert'
/home/matteo/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/lint.rb:451:in `block in check_headers'
/home/matteo/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/lint.rb:434:in `each'
/home/matteo/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/lint.rb:434:in `check_headers'
/home/matteo/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/lint.rb:52:in `_call'
/home/matteo/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/lint.rb:36:in `call'
/home/matteo/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/showexceptions.rb:24:in `call'
/home/matteo/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/commonlogger.rb:20:in `call'
/home/matteo/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/chunked.rb:43:in `call'
/home/matteo/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
/home/matteo/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
/home/matteo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/matteo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/matteo/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
```