zorael / kameloso

IRC bot with Twitch support
Boost Software License 1.0
9 stars 3 forks source link

arsd.http2 #124

Closed zorael closed 2 years ago

zorael commented 2 years ago

With this we start using arsd.http2 for HTTPS access, but keep dlang-requests for SSL server connections. This is purely because dlang-requests does not load certificates on Windows, while arsd.http2 does. Using requests everywhere would make sense, but then the user would unavoidably be required to supply their own cacert.pem on Windows, which would be far from ideal.

One notable difference is that Webtitles does not stream the page as it looks for titles, but rather downloads all of it. This can probably be changed, but it has low priority.