mirror of https://github.com/kiwix/libkiwix.git
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:
parent
9479c0685d
commit
b2b907f813
6437
test/httplib.h
6437
test/httplib.h
File diff suppressed because it is too large
Load Diff
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue