You've already forked cpp-httplib
Changed set_file_content to accept only a regular file path.
This commit is contained in:
@ -2288,6 +2288,8 @@ protected:
|
||||
{
|
||||
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
|
||||
cli_.enable_server_certificate_verification(false);
|
||||
#else
|
||||
#error no ssl
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user