Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
HTTP3 is a next-generation HTTP client for Python 3.
Note: This project should be considered as an "alpha" release. It is substantially API complete, but there are still some areas that need more work.
Let's get started...
>>> import http3
>>> r = http3.get('https://www.example.org/')
>>> r
<Response [200 OK]>
>>> r.status_code
200
>>> r.protocol
'HTTP/2'
>>> r.headers['content-type']
'text/html; charset=UTF-8'
>>> r.text
'<!doctype html>\n<html>\n<head>\n<title>Example Domain</title>...'
HTTP3 builds on the well-established usability of requests
, and gives you:
async
/await
support if you need it.Plus all the standard features of requests
...
Install with pip:
$ pip install http3
HTTP3 requires Python 3.6+
Project documentation is available at www.encode.io/http3/.
For a run-through of all the basics, head over to the QuickStart.
For more advanced topics, see the Advanced Usage section, or the specific topics on making Parallel Requests or using the Async Client.
The Developer Interface provides a comprehensive API reference.
The HTTP3 project relies on these excellent libraries:
h2
- HTTP/2 support.h11
- HTTP/1.1 support.certifi
- SSL certificates.chardet
- Fallback auto-detection for response encoding.idna
- Internationalized domain name support.rfc3986
- URL parsing & normalization.brotlipy
- Decoding for "brotli" compressed responses. (Optional)A huge amount of credit is due to requests
for the API layout that
much of this work follows, as well as to urllib3
for plenty of design
inspiration around the lower level networking details.
— ⭐️ —
HTTP3 is BSD licensed code. Designed & built in Brighton, England.
FAQs
The next generation HTTP client.
We found that http3 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.