Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Problem is, it's not entirely clear that an http client library needs external state. (And for example, mint does not).


Persistent connections? Cookies? Response cache? Conditional requests?


depends on how low level you want the library to be - for example, cURL doesn't have state.


That is incorrect. Libcurl has a connection cache for persistent connections enabled by default.

It also supports automatically recording and resending cookies (including optionally storing those cookies to disk for cross-session usage), though that is not enabled by default.

In 2020, the CLI cURL utility also added support for conditional requests, although that is not native to the underlying libcurl.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: