2 ms·
Persistent connections? Cookies? Response cache? Conditional requests?
by masklinn 5y ago
Persistent connections? Cookies? Response cache? Conditional requests?
- chii 5y agodepends on how low level you want the library to be - for example, cURL doesn't have state.
- masklinn 5y agoThat 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.