mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-12-24 06:57:59 -05:00
Compare commits
2 Commits
widgetEndp
...
update_htt
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f19327023 | ||
|
|
b2b907f813 |
6439
test/httplib.h
6439
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user