logo

httpc

barebones HTTP client, intended for simple usage like downloading filesgit clone https://hacktivis.me/git/httpc.git

README.md (882B)


  1. # httpc: HTTP Client
  2. A barebones HTTP client, intended for simple usage like downloading files.
  3. ## Dependencies
  4. - C99 Compiler
  5. - POSIX Shell, Make, and C library
  6. - POSIX utilities for `./configure`: cat, printf, echo
  7. - POSIX utilities for `make clean`: rm
  8. - pkg-config(1)
  9. - `libtls` implementation, for example:
  10. - <https://www.libressl.org/> (included in OpenBSD)
  11. - libtls for OpenSSL: <https://git.causal.agency/libretls/about/>
  12. - libtls for BearSSL: <https://sr.ht/~mcf/libtls-bearssl/>
  13. ## Non-Goals
  14. - Other protocols than HTTP(S)
  15. - curl/wget/… compatibility
  16. Also IDNs are unlikely to be supported as they barely have any serious usage.
  17. For example as of 2024-06-25 I found none in gentoo repo:
  18. ```
  19. grep -E -e 'https?://' /repo/gentoo/*/*/*.ebuild | pcre2grep -u '[\x{0080}-\x{10fffd}]'
  20. ```
  21. And also none puny-encoded:
  22. ```
  23. grep -e 'xn--' /repo/gentoo/*/*/*.ebuild
  24. ```