xh: HTTP client for API testing
Rust HTTP client reimplementing HTTPie with improved performance and user-friendly API testing syntax.
Learn more about xh
xh is a command-line HTTP client that serves as a performance-focused alternative to HTTPie. The tool is implemented in Rust and maintains compatibility with HTTPie's command-line interface and request syntax. It supports standard HTTP operations including JSON and form data serialization, authentication methods, SSL/TLS configuration, and response formatting. The tool is commonly used for API testing, debugging web services, and automating HTTP requests in development workflows.
HTTPie Compatibility
Reimplements HTTPie's command-line interface and syntax while maintaining compatibility with existing workflows and scripts.
Rust Implementation
Built in Rust for improved performance and memory safety compared to Python-based alternatives.
Comprehensive Protocol Support
Supports HTTP/1.0, HTTP/1.1, HTTP/2, and HTTP/3 with configurable TLS versions and proxy configurations.
Adds colorized help output, fixes download resumption for HTTP 416 errors, and upgrades brotli compression support.
- –Add colors to --help/-h
- –Don't fail on error code 416 if resuming download
- –Upgrade brotli to latest version
Introduces Unix Domain Socket support, macOS interface binding, and experimental HTTP/3 capabilities.
- –Add --unix-socket for calling Unix Domain Sockets
- –Support binding to interface name on macOS
- –Add experimental HTTP/3 support
Improves filename handling with RFC 5987 encoding support, fixes zstd response crashes, and enhances TLS error messages.
- –Support RFC 5987 encoding for Content-Disposition filenames
- –Fix crash on empty zstd response body
- –Improve rustls errors for invalid certificates
Top in Developer Tools
Related Repositories
Discover similar tools and frameworks used by developers
Lighthouse
Open-source tool that analyzes web pages for performance, accessibility, and SEO, generating actionable reports.
Git
Snapshot-based version control with distributed repository architecture.
JSON for Modern C++
Header-only C++ library for JSON with STL-like containers.
scrcpy
Mirrors Android devices over USB/TCP with keyboard and mouse control, no root required.
iCloud Photos Downloader
Cross-platform CLI tool for downloading photos and videos from iCloud with incremental sync and Live Photo support.