http.client

Stdlib — NetworkingPython 2.0+Advanced

Low-level HTTP protocol client

Quick Info

Documentation
Official Docs
Python Version
2.0+
Dependencies
None — Python Standard Library
Install
Included with Python

Learn by Difficulty

Quick Example

python
import http.client

print(f"Module: http.client")
print(f"Contents: {dir(http.client)[:10]}")

The http.client module is part of Python's standard library. Low-level HTTP protocol client.

Try in Playground

Tags

stdlibnetworkinginternet