Compare commits

...
2 changed files with 4655 additions and 1788 deletions

No files matched your search

+4653 -1786
View File
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -57,12 +57,12 @@ public: // functions
ZimFileServer(int serverPort, const FilePathCollection& zimpaths, std::string indexTemplateString = "");
~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);
}
Response HEAD(const char* path, const Headers& headers = Headers())
httplib::Result HEAD(const char* path, const Headers& headers = Headers())
{
return client->Head(path, headers);
}