Displaying 1 result from an estimated 1 matches for "accept_partial_requests".
2007 Jan 23
4
Want feedback on Mongrel patch for handling partial PUT requests
...epted into trunk, please let me
know. I''d be happy to provide this as a "plugin" to monkey-patch
mongrel for any people interested in this functionality.
So, the patch touches three (3) classes and makes minor modifications.
1. class HttpHandler
Adds a single method called #accept_partial_requests? which is false
by default since most handlers do NOT want to handle a partial
request. Those that do can simply override this method in the
subclass. Used in HttpServer#process_client for determining if a
handler should get called.
2. class HttpRequest
Changes the logic in the #read_body...