search for: request_notify

Displaying 2 results from an estimated 2 matches for "request_notify".

2006 Oct 19
8
Mongrel::HttpHandlerPlugin
...ile upload monitor for mongrel that uses juggernaut to alert the browser of a change. I''m writing a plugin that uses Mongrel::HttpHandlerPlugin but it looks like the only method that gets called is process and that is only when the upload has finished. I''m setting the following: @request_notify = true But I am still only getting process to come through. Any ideas? -- Carl Woodward
2007 Jan 23
4
Want feedback on Mongrel patch for handling partial PUT requests
...parser.execute(params, data, nparsed) if parser.finished? # deleted for brevity if handlers # deleted for brevity # select handlers that want more detailed request notification notifiers = handlers.select { |h| h.request_notify } request = HttpRequest.new(params, client, notifiers) # break if request.body == nil ---- REMOVED # request is good so far, continue processing the response response = HttpResponse.new(client) unless request.interrupted? # NEW state...