Update httplib to last version (0.9.7)

Release url is https://github.com/yhirose/cpp-httplib/releases/tag/v0.9.7
This commit is contained in:
Matthieu Gautier 2021-11-05 16:56:36 +01:00
parent 9479c0685d
commit b2b907f813
2 changed files with 4654 additions and 1787 deletions

File diff suppressed because it is too large Load Diff

View File

@ -57,12 +57,12 @@ public: // functions
ZimFileServer(int serverPort, const FilePathCollection& zimpaths, std::string indexTemplateString = ""); ZimFileServer(int serverPort, const FilePathCollection& zimpaths, std::string indexTemplateString = "");
~ZimFileServer(); ~ZimFileServer();
Response GET(const char* path, const Headers& headers = Headers()) httplib::Result GET(const char* path, const Headers& headers = Headers())
{ {
return client->Get(path, headers); return client->Get(path, headers);
} }
Response HEAD(const char* path, const Headers& headers = Headers()) httplib::Result HEAD(const char* path, const Headers& headers = Headers())
{ {
return client->Head(path, headers); return client->Head(path, headers);
} }