Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > CGI multipart 1.8

Reply
Thread Tools

CGI multipart 1.8

 
 
George Moschovitis
Guest
Posts: n/a
 
      08-01-2003
Hi there,

I noticed a strange change in cgi.rb in version 1.8. The mulipart
parser returns a TempFile for small files (like in 1.6) but a StringIO
for bigger files. This makes my code more complex. I think it should
either return a TempFile (better) or a StringIO for any size of file.
What is the rationale behind this change?

George Moschovitis
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CGI (read multipart form): Accept-Charset encoding error (CGI::InvalidEncoding) Stefan Fischer Ruby 2 02-23-2010 08:17 AM
MIME Structure Multipart/Mixed with attachment and Multipart/Alternative blaine@worldweb.com Perl Misc 1 04-04-2007 08:23 PM
cgi and multipart/form-data? Chris Curvey Python 1 03-29-2005 07:51 PM
CGI and multipart/related data Simon Callan Perl 2 09-16-2004 10:07 AM
cgi.rb multipart bug Brad Hilton Ruby 0 10-06-2003 11:16 PM



Advertisments