Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Dogbutler is a client library base on requests but with a cache and persistent cookie support.
pip install dogbutler
DogButler supports GET, HEAD, POST, PATCH, PUT, DELETE, and OPTIONS requests.
import dogbutler r = dogbutler.get('http://www.google.com', headers={'a': 'antelope'}, cookies={'a': 'apple'}) r.status_code 200 r.content
A session has its own cache, cookie jar, and redirect history.
from dogbutler import Session s = Session() r = s.get('http://www.google.com', headers={'a': 'antelope'}, cookies={'a': 'apple'}) r.status_code 200 r.content
Note: Only GET requests can be called asynchronously at the moment.
Each request is a tuple of (url, kwargs), where kwargs can contain optional arguments such as headers and cookies.
from dogbutler import async request1 = ('http://www.google.com', {'headers': {'a': 'antelope'}, 'cookies': {'a': 'apple'}}) request2 = ('http://www.apple.com', {'headers': {'b': 'bear'}, 'cookies': {'b': 'banana'}}) response1, response2 = async.get([request1, request2]) response1.status_code 200 response2.status_code 200
FAQs
Make HTTP/HTTPS requests with cache, cookie, and redirect support
We found that dogbutler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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 News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
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.