
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
http is heavily inspired by the HTTP::Message <https://metacpan.org/module/HTTP::Message>
__ distribution.
>>> from http import Request
>>> request = Request('GET', 'http://pypi.python.org')
>>> print request.method
GET
http provides a few components to build HTTP messages:
Headers
>>> from http import Headers
>>> h = Headers()
>>> h.add('Content-Type', 'application/json')
Request
>>> from http import Request
>>> r = Request('GET', 'htttp://lumberjaph.net')
Response
>>> from http import Response
>>> r = Response(200)
Links
-----
- `Documentation <http://readthedocs.org/docs/http/en/latest/>`__.
- `Repository <git://github.com/franckcuny/http.git>`__.
How to get?
-----------
Install with "pip" command:
$ pip install http
or check out development version:
$ git clone git://github.com/franckcuny/http.git
FAQs
HTTP library for Python
We found that http demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.