Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A handler for urllib2 to enable multipart form uploading

Project description

A handler for urllib2 to enable multipart/form-data for posting forms and uploading data.

Upload files in python:

import MultipartPostHandler, urllib2

opener = urllib2.build_opener(MultipartPostHandler.MultipartPostHandler)
params = { "username" : "bob", "password" : "riviera",
"file" : open("filename", "rb") }"", params)

Further Example:
The main function of this file is a sample which downloads a page and
then uploads it to the W3C validator.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
MultipartPostHandler2-0.1.5-1.noarch.rpm (8.3 kB) Copy SHA256 hash SHA256 RPM any Sep 25, 2014
MultipartPostHandler2-0.1.5-1.src.rpm (7.3 kB) Copy SHA256 hash SHA256 RPM any Sep 25, 2014
MultipartPostHandler2-0.1.5-py2.7.egg (5.8 kB) Copy SHA256 hash SHA256 Egg 2.7 Sep 25, 2014
MultipartPostHandler2-0.1.5.tar.gz (3.9 kB) Copy SHA256 hash SHA256 Source None Sep 25, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page