An easy to use HTTP client based on httplib
Project description
Description
An easy to use HTTP client based on httplib
Installation
$ pip install urlfetch -U
Hello World
from urlfetch import get response = get('http://python.org/') print response.body
Upload file
from urlfetch import post response = post('http://127.0.0.1:8888/', files={'formname': open('/path/to/file', 'rb')}) print response.reqheaders print response.body
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
urlfetch-0.2.zip
(22.5 kB
view hashes)
urlfetch-0.2.tar.gz
(20.2 kB
view hashes)
urlfetch-0.2.tar.bz2
(16.8 kB
view hashes)