Displaying 3 results from an estimated 3 matches for "request_progress".
2006 Nov 26
2
Writing a mod_put HttpHandler
...t I want to do isn''t
currently possible.
Looking at the class HttpRequest I see that request bodies larger
than Mongrel::MAX_BODY get streamed to a tempfile before they are
handed off to any handlers registered in the chain. Things were
looking up for me when I saw the HttpHandler#request_progress call,
but it doesn''t hand the body off to the handler (only the params). In
other words, mongrel would need to stream the entire upload to a
tempfile before it hands off to my "PUT handler," right?
If that''s the case, any suggestions on how I could hack the code t...
2007 May 14
7
Help a newb with 0.3.1
Hi, first off thanks Ezra for Merb - it''s certainly interesting and
I''m keen to have a play. However, I''m having difficulties in getting
started. I''ve followed the docs for setting up mrblog and everything
seems to be installed correctly, and merb appears to start fine:
$ merb
you must install the markaby gem to use .mab templates
you must install the
2007 Mar 24
0
max upload size!
...rminates the socket) if the specified content-length is higher
than 200 MB (by default).
I don''t know the behaviour if the specified content length is
different than the actual uploaded data or if no content-length
is given and chucked uploads are used.
I wanted to fix this by using the request_progress(params, clen,
total) method but clen represents the number of bytes that still
have to come in, not the number of received bytes.
How does mongrel deal with uploads when it does not know the
total content length?
And my second question:
Zed suggests in his post "and then attach that to the f...