A small client for the Hypertext Transfer Protocol (HTTP/1.1 and HTTP/2), over plain connections and over Transport Layer Security (TLS), that uses the operating system's own TLS implementation and certificate trust store instead of a bundled cryptography library or certificate bundle: 'Schannel' on 'Windows', Apple's native TLS on 'macOS', and 'OpenSSL' elsewhere. Provides a total request timeout, cancellation from 'R' with an interrupt, connection reuse, streaming of response bodies to files or callbacks, structured error conditions, and a pluggable transport layer for testing without a network. Intended as a focused alternative to full multi-protocol clients for packages that only need reliable HTTP requests.
| Version: | 0.1.0 |
| Depends: | R (≥ 3.5) |
| Imports: | zujson (≥ 0.1.0) |
| Suggests: | curl, parallel, testthat (≥ 3.1.7), webfakes, withr, zuhtml (≥ 0.1.0), zuxml (≥ 0.1.0) |
| Published: | 2026-12-04 |
| DOI: | 10.32614/CRAN.package.zuhttp (may not be active yet) |
| Author: | Pedro Baltazar [aut, cre, cph], Kazuho Oku [cph] (picohttpparser, see inst/COPYRIGHTS), Tokuhiro Matsuno [cph] (picohttpparser, see inst/COPYRIGHTS), Daisuke Murase [cph] (picohttpparser, see inst/COPYRIGHTS), Shigeo Mitsunari [cph] (picohttpparser, see inst/COPYRIGHTS), Weijia Song [cph] (uriparser, see inst/COPYRIGHTS), Sebastian Pipping [cph] (uriparser, see inst/COPYRIGHTS), Tatsuhiro Tsujikawa [cph] (nghttp2, see inst/COPYRIGHTS), nghttp2 contributors [cph] (nghttp2, see inst/COPYRIGHTS), sfparse contributors [cph] (sfparse within nghttp2, see inst/COPYRIGHTS), nghttp3 contributors [cph] (sfparse within nghttp2, see inst/COPYRIGHTS) |
| Maintainer: | Pedro Baltazar <pedrobtz at gmail.com> |
| BugReports: | https://github.com/pedrobtz/zuhttp/issues |
| License: | MIT + file LICENSE |
| Copyright: | see file COPYRIGHTS |
| URL: | https://github.com/pedrobtz/zuhttp, https://pedrobtz.github.io/zuhttp/ |
| NeedsCompilation: | yes |
| SystemRequirements: | zlib; and each platform's own TLS stack, which ./configure selects: Schannel on Windows and Network.framework on macOS, both part of the operating system, and OpenSSL >= 1.1.1 on other Unix. No certificate bundle is shipped: the system trust store is used everywhere. |
| Materials: | README, NEWS |
| CRAN checks: | zuhttp results |
| Reference manual: | zuhttp.html , zuhttp.pdf |
| Package source: | zuhttp_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): zuhttp_0.1.0.tgz, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=zuhttp to link to this page.