johnbintz/rack-livereload — Issue #6: Content-Length header is wrong
Author: der-flo
Created: 2012-03-01 10:16:39+00:00
State: open

I'm getting an error from Rack::Lint:

```
ERROR Rack::Lint::LintError: Content-Length header was 599, but should be 261
```

My simple rackup file contains:

```ruby
require 'rubygems'
require 'bundler/setup'
require 'rack-livereload'

use Rack::LiveReload
run Rack::Directory.new('.')
```

What I'm doing wrong? Do I understand the middleware concept wrong?