A headless HTTP browser.
Project description
Installation
Command line installation (Unix, Windows):
$ pip install httpclient
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.
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 Distribution
httpclient-0.0.2.zip
(30.9 kB
view details)
File details
Details for the file httpclient-0.0.2.zip
.
File metadata
- Download URL: httpclient-0.0.2.zip
- Upload date:
- Size: 30.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc1e75e28163d3f8386ccd448b9d34f13564a02c8cc7cb422a657475920ae60a |
|
MD5 | 9e94763615bf63db81b04893c7bf4689 |
|
BLAKE2b-256 | 8a239339b5dc63024d69991dc7954b9362f55b3193bb05df5597ff684d190ddd |