CGI multipart 1.8

Discussion in 'Ruby' started by George Moschovitis, Aug 1, 2003.

  1. 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
     
    George Moschovitis, Aug 1, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon Callan

    CGI and multipart/related data

    Simon Callan, Sep 2, 2004, in forum: Perl
    Replies:
    2
    Views:
    715
    Simon Callan
    Sep 16, 2004
  2. Chris Curvey

    cgi and multipart/form-data?

    Chris Curvey, Mar 29, 2005, in forum: Python
    Replies:
    1
    Views:
    1,278
    Chris Curvey
    Mar 29, 2005
  3. Brad Hilton

    cgi.rb multipart bug

    Brad Hilton, Oct 7, 2003, in forum: Ruby
    Replies:
    0
    Views:
    146
    Brad Hilton
    Oct 7, 2003
  4. Stefan Fischer
    Replies:
    2
    Views:
    334
    Stefan Fischer
    Feb 23, 2010
  5. Replies:
    1
    Views:
    447
Loading...

Share This Page