[Nuxeo-tickets] Re: [Nuxeo Repository] #1849: POST requests only support multipart/form-data

Nuxeo Repository trac at nuxeo.com
Sat Jul 7 17:42:41 CEST 2007


#1849: POST requests only support multipart/form-data
-----------------------+----------------------------------------------------
 Reporter:  tracguest  |        Owner:  bdelbosc   
     Type:  task       |       Status:  new        
 Priority:  P2         |    Milestone:  unspecified
Component:  funkload   |      Version:  TRUNK      
 Severity:  major      |   Resolution:             
 Keywords:             |  
-----------------------+----------------------------------------------------
Comment (by tracguest):

 Here is a patch to FL that should allow POST requests for any content-
 type. Basically you can pass a dict, a byte string, a unicode string
 (which will be UTF-8 encoded, or a file object to the post() method.

 In those cases you MUST set the Content-Type of the request via
 self.addHeader() before the call to self.post(). Feel free to adapt if
 needed.

 It was created against the trunk HEAD.

-- 
Ticket URL: <http://svn.nuxeo.org/trac/pub/ticket/1849>
Nuxeo Repository <http://www.cps-project.org/>
Nuxeo Repository



This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.