http-request 8.91.126

http-request is a lightweight, efficient library for building, sending, and handling HTTP/HTTPS requests in Rust applications. It provides a simple and intuitive API, allowing developers to easily interact with web services, whether they use the "HTTP" or "HTTPS" protocol. The library supports various HTTP methods, custom headers, request bodies, timeout, automatic handling of redirects (including detecting redirect loops), and enhanced response body decoding (both automatic and manual), enabling fast and secure communication. Whether working with secure "HTTPS" connections or standard "HTTP" requests, the library is optimized for performance, minimal resource usage, and easy integration into Rust projects.
Documentation
# Explicit LF enforcement for tracked source/config files
# (overrides any local phantom writes that introduce CRLF)
*.rs        text eol=lf
*.toml      text eol=lf
*.md        text eol=lf
*.json      text eol=lf
*.html      text eol=lf
*.js        text eol=lf
*.css       text eol=lf
*.lock      text eol=lf
*.yaml      text eol=lf
*.yml       text eol=lf
*.sh        text eol=lf
*.bash      text eol=lf
*.txt       text eol=lf

# Force binary for non-text
*.png       binary
*.jpg       binary
*.jpeg      binary
*.gif       binary
*.ico       binary
*.webp      binary
*.wasm      binary
*.zip       binary
*.tar       binary
*.gz        binary
*.pdf       binary
*.exe       binary
*.dll       binary
*.so        binary
*.dylib     binary