#50 Standalone server: fix file uploads

closed
nobody
None
5
2004-04-29
2004-04-15
A.M. Kuchling
No

The standalone server doesn't set the content-type,
which means that multipart/form-data doesn't work,
which means
that file uploads don't work, which means that creating
attachments doesn't work.

The attached patch sets content-type, and adds
an inefficient .readline() method because the 'cgi'
module needs it.

Discussion

  • A.M. Kuchling
    A.M. Kuchling
    2004-04-15

     
    Attachments
    • status: open --> closed
     
  • Logged In: YES
    user_id=100649

    Thanks for the patch.

    It will be in arch soon and also in 1.2.2.