HttpMultipart is a Python 2 library for post multipart request.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
httpmultipart
.coveragerc
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.rst
setup.cfg
setup.py
test_httpmultipart.py

README.rst

HttpMultipart

https://travis-ci.org/tao12345666333/httpmultipart.svg?branch=master https://coveralls.io/repos/tao12345666333/httpmultipart/badge.svg?branch=master&service=github

Just a Python Http Multipart Post Handler. You can use it to post multipart requests.

Usage

Post

>>> import httpmultipart
>>> httpmultipart.post(url, fields, files)
...

The fields and files are both sequence. After run post function, it will return the response.

Installation

Automatic installation:

pip install httpmultipart

Manual installation: Download the latest source from PyPI.

tar xzvf httpmultipart-$VERSION.tar.gz
cd httpmultipart-$VERSION
python setup.py build
sudo python setup.py install

The HttpMultipart source code is hosted on GitHub.

Documentation

The HttpMultipart documentation is hosted on Read the Docs.