On Tue, 4 Nov 2003 09:42:12 +0900, Yukihiro Matsumoto wrote: > I understand the problem, but not yet think of the best solution. > Any concrete ideas? I think that it might be worth considering a variation on what WEBrick does, which is WEBrick::HTTPUtils::FormData. Obviously, that's not an entirely useful solution, as it would break how people are currently using CGI right now. But if CGI were to return a FormData like object that has the ability to duck-type as an IO or a String (I guess; maybe the methods added during the current multipart form data handling), I think that this would probably be ideal. Alternatively, still return something like a FormData but have a #tempfile method that will return the associated Tempfile or create one as necessary. As I said, in most of my applications, I need to deal with the raw data, not the tempfiles, but I want the ability to deal with the tempfiles (or StringIO) as I need to (e.g., potential features in Ruwiki). -austin -- austin ziegler * austin / halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2003.11.03 * 23.22.39