🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

crustyhttp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crustyhttp

Stop live in Ukraine

Source
pipPyPI
Version
1.3.5
Maintainers
1

🚀 UtilHTTP

Simplify your HTTP requests with UtilHTTP - the lightweight yet powerful Python library.

🌟 Quick Start


import utilhttp



# Make a GET request with basic authentication

response = utilhttp.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass'))



# Check the response

print(f"Status Code: {response.status_code}")

print(f"Content Type: {response.headers['content-type']}")

print(f"Encoding: {response.encoding}")

print(f"Text: {response.text[:20]}...")  # First 20 characters

print(f"JSON: {response.json()}")

🛠️ Installation

Get UtilHTTP up and running in seconds:


pip install utilhttp

📌 Note: UtilHTTP supports Python 3.8 and above.

🔥 Key Features

  • Effortless Requests: No need to manually handle query strings or form-encode data

  • JSON Support: Seamlessly work with JSON data using the json method

  • Connection Magic: Keep-Alive & Connection Pooling for optimal performance

  • Global Ready: Full support for International Domains and URLs

  • Session Handling: Cookie persistence across requests

  • Secure by Default: Browser-style TLS/SSL Verification

  • Authentication: Basic & Digest methods supported

  • Cookie Management: Intuitive dict-like interface

  • Content Handling: Automatic decompression and decoding

  • File Uploads: Hassle-free multi-part file uploads

  • Proxy Support: SOCKS proxy compatibility

  • Timeout Control: Set connection timeouts with ease

  • Streaming: Efficient streaming downloads

  • Config Integration: Automatic .netrc file recognition

  • Chunked Requests: Support for Chunked HTTP requests

FAQs

Did you know?

Socket

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.

Install

Related posts