Try this:
curl -i http://zedshaw.com/
You see the headers?
Ok, now try this:
curl -i "http://zedshaw.com/this has spaces in it.txt"
No headers, and it's a 400. This means that it defaults to a 200 status code, meaning that it breaks quite a few things about HTTP.
The feature should either be:
* Always return headers, no matter what.
OR
* If you want to save time on a malformed request, and headers are too much work, then just close the connection. That's still valid and will work with most clients.
Thanks!