Content-Length header is wrong #6
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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?
I'm getting an error from Rack::Lint:
My simple rackup file contains:
What I'm doing wrong? Do I misunderstand the middleware concept?
Do you get the same error with a basic Rack app, like say:
Your sample misses a content type. The following works:
I (think that I) need
Rack::Directory
for reloading my static HTML files for a live HTML course. Other suggestions?BTW: I think the difference in content length results from adding the js script tags.
Same problem here, I get the following message in the web server log:
I was making a bad assumption about the returns from Rack apps, and that is now fixed. Take it for a spin.
Jep, works perfectly!