Skip to main content

A handler for urllib2 to enable multipart form uploading

Project description

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

Inspirations:
Upload files in python:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146306

Example:
import MultipartPostHandler, urllib2

opener = urllib2.build_opener(MultipartPostHandler.MultipartPostHandler)
params = { "username" : "bob", "password" : "riviera",
"file" : open("filename", "rb") }
opener.open("http://wwww.bobsite.com/upload/", 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


Download files

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

Source Distribution

MultipartPostHandler2-0.1.5.tar.gz (3.9 kB view details)

Uploaded Source

Built Distributions

MultipartPostHandler2-0.1.5-py2.7.egg (5.8 kB view details)

Uploaded Source

MultipartPostHandler2-0.1.5-1.src.rpm (7.3 kB view details)

Uploaded Source

MultipartPostHandler2-0.1.5-1.noarch.rpm (8.3 kB view details)

Uploaded Source

File details

Details for the file MultipartPostHandler2-0.1.5.tar.gz.

File metadata

File hashes

Hashes for MultipartPostHandler2-0.1.5.tar.gz
Algorithm Hash digest
SHA256 8cb2c10aa857c1dae70cacc9bcfe9fc38c5f4971c850becca6b3f52bbcca29b7
MD5 871c2807f8161c542fb283cea7fbab82
BLAKE2b-256 5584353448af4966a9e900841a8546a08ff90f47398fa7c3bdaf615626ed4fd6

See more details on using hashes here.

File details

Details for the file MultipartPostHandler2-0.1.5-py2.7.egg.

File metadata

File hashes

Hashes for MultipartPostHandler2-0.1.5-py2.7.egg
Algorithm Hash digest
SHA256 1370823c7acddbe8e95f93f92023906f92f34a2b1d8a5a7e51abdfb77eb39bda
MD5 646ccc5c68670471630663d9e0cacfc9
BLAKE2b-256 3719d959861fb26e548f411bb305296b61670b5d4c2eeba84ab1d6c409a9cf42

See more details on using hashes here.

File details

Details for the file MultipartPostHandler2-0.1.5-1.src.rpm.

File metadata

File hashes

Hashes for MultipartPostHandler2-0.1.5-1.src.rpm
Algorithm Hash digest
SHA256 9f22059837ec1c3e6d76658162c4b8e5cbd39af9006db5b0d28f4277d684b891
MD5 5132b6b2a716c0c6e7bcf055f9870d02
BLAKE2b-256 2ff45f052786fb6c5b824db425dadde37d57045092fbfbc1831d44a0d3b03ef1

See more details on using hashes here.

File details

Details for the file MultipartPostHandler2-0.1.5-1.noarch.rpm.

File metadata

File hashes

Hashes for MultipartPostHandler2-0.1.5-1.noarch.rpm
Algorithm Hash digest
SHA256 4e8d255a07d9f51e3d8460eb0b3e708b5ee2c6b1acabece7bb9593f6ee38aeb8
MD5 6caa7e100ba60fb65ed8cc82f9223c98
BLAKE2b-256 13b625323b2180216cc900416ca4f28b8990b8bb3a9894142a770af0e39558e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page