skip to navigation
skip to content

Not Logged In

httpclient 0.0.2

A headless HTTP browser.

Latest Version: Unknown

Installation

Command line installation (Unix, Windows):

$ pip install httpclient

(pip installation instructions)

Quickstart

Send a GET request:

from httpclient import HttpClient

http_client = HttpClient()
page = http_client.get("http://www.google.com")

print(page.content_as_string)

Send a POST request:

from httpclient import HttpClient

http_client = HttpClient()
page = http_client.post("http://www.some-site.org/login",
                    {"username": "xxx", "password": "yyy"})
print(page.content_as_string)

Documentation

Full documentation within the github wiki.

 
File Type Py Version Uploaded on Size
httpclient-0.0.2.zip (md5) Source 2011-09-13 30KB
  • Downloads (All Versions):
  • 8 downloads in the last day
  • 41 downloads in the last week
  • 236 downloads in the last month