Do not fail without content type #5
Loading…
Reference in New Issue
No description provided.
Delete Branch "do_not_fail_without_content_type"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When using WEBrick(yeah...) and ruby 1.9.3 the Content-Type header is not present on the response from the upper middlewares for some reasone. Then Rack::LiveReload fails because it assumes that the Content-Type header is there.
This doesn't happen with the released gem because it was using case/when syntax.
Although it shouldn't be this middleware responsibility to check that the header is there, it's not nice to crash when it's that easy to prevent
Derp, thanks for fixing that stupid mistake of mine. :)