Editing Topic: RCR67 Project: RCR | RCRchive home

RCR 67: unify cgi handling of normal and multipart forms

submitted by patsplat on 2002-03-14 17:38:54


This is a legacy RCR. If this is your RCR, please resubmit it using the new format and process.


Instead of making all multipart params Tempfiles, I prefer that only params with unusual content-types be affected. Everything else would remain Strings. I don't mind using a different interface on the param where I expect a file. It's frustrating, though, to see the entire application unravel b/c an upload was added to one form. A wrapper for cgi which does this is at: If this is approved, I will write a patch for cgi.rb which provides this behavior.


Back to RCRchive.


RCR Submission page and RCRchive powered by Ruby, Apache, RuWiki (modified), and RubLog