Enables the use of multipart/form-data for posting forms
Inspirations:
Upload files in python:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/146306
urllib2_file:
Fabien Seisen: <fabien@seisen.org>
Example:
import MultipartPostHandler, urllib2, cookielib
cookies = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cookies),
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.
Metadata
Release files for MultipartPostHandler 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| MultipartPostHandler-0.1.0.tar.gz | 3.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| MultipartPostHandler-0.1.0-py2.6.egg | Legacy Egg format | - | - | Details |
Total release size: 11.2 kB
Release files / MultipartPostHandler-0.1.0.tar.gz
| Download URL | MultipartPostHandler-0.1.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4c1823dc586d5507c0d269b763402311868b55236808d033d54300fa73e4a3d
|
|
BLAKE2b-256 checksum How to use checksums |
1848ba7c00a469cc0a0a7c19deebff844f15779256c209a4992e06e0f511ae36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / MultipartPostHandler-0.1.0-py2.6.egg
| Download URL | MultipartPostHandler-0.1.0-py2.6.egg |
|---|---|
| Size | 8.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
91bcdf4a93d26bc32f6abc314460ebe66076fd27ab038e299e80c9dbea4534d7
|
|
BLAKE2b-256 checksum How to use checksums |
df82a070009f869fd31b219a8f13e20552da9a4f150ffed0864ffeb14f65ded0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for MultipartPostHandler 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.