|
Mila
Deep Neural Network Library
|
libcurl as an IHttpTransport: one request, exactly the headers given. More...
#include <cctype>#include <cstddef>#include <cstdint>#include <cstdlib>#include <memory>#include <string>#include <string_view>#include <curl/curl.h>import Distribution.HttpTransport;Classes | |
| class | Mila::Distribution::CurlHttpTransport |
| libcurl as an IHttpTransport. More... | |
Namespaces | |
| namespace | Mila |
| Mila main API namespace. | |
libcurl as an IHttpTransport: one request, exactly the headers given.
Everything that used to make this file interesting – following redirects, dropping the authorization header across a host change, building a Range, mapping a status – moved up into HttpClient, where it is written once for every transport. What is left is the part that genuinely needs libcurl. The only module in the library that does, and therefore the only one MILA_ENABLE_LIBCURL gates. See Specifications/HttpClient.md.