httpmultipart

A httpmultipart post handler


License
MIT
Install
pip install httpmultipart==0.2.0

Documentation

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.