Closed skade closed 13 years ago
Sorry for being short. Sitting on a train.
This fixes the Padrino bug that Requests not hitting a route might return a content-length but not a body.
Accidentally setting the REQUEST_METHOD to HEAD causes Sinatra to delete the body of the response.
http://groups.google.com/group/padrino/browse_thread/thread/09f2ecdc3ac1df9b
i'm already doing this on the rewrite branch, but thank you for pointing it out! btw, take a look at that branch for the latest code.
Sorry for being short. Sitting on a train.
This fixes the Padrino bug that Requests not hitting a route might return a content-length but not a body.
Accidentally setting the REQUEST_METHOD to HEAD causes Sinatra to delete the body of the response.
http://groups.google.com/group/padrino/browse_thread/thread/09f2ecdc3ac1df9b