[ moin-Bugs-935700 ] Standalone server: fix file uploads

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
Bugs item #935700, was opened at 2004-04-15 17:23
Message generated for change (Settings changed) made by thomaswaldmann
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=935700&group_id=8482

Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: A.M. Kuchling (akuchling)
Assigned to: Nobody/Anonymous (nobody)
Summary: Standalone server: fix file uploads

Initial Comment:
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.


----------------------------------------------------------------------

>Comment By: Thomas Waldmann (thomaswaldmann)
Date: 2004-04-29 20:12

Message:
Logged In: YES 
user_id=100649

Thanks for the patch.

It will be in arch soon and also in 1.2.2.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=935700&group_id=8482


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.