Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)
Accumulate the data to be used when posting a form.

src/p/y/py-cloudapp-HEAD/cloud_api.py   py-cloudapp(Download)
import urllib2, json, threading, urlparse, os, Queue
from multipart import MultiPartForm
 
class RequestWithMethod(urllib2.Request):
    """Workaround for using DELETE with urllib2"""
                    if uploadParams:
                        try:
                            form = MultiPartForm()
                            for name in uploadParams["params"]:
                                form.addField(name.encode('utf8'), uploadParams["params"][name].encode('utf8'))