Update Http Library

This commit is contained in:
2020-06-14 16:38:25 +02:00
parent b01fdb8be8
commit ec5df791b4
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -93,7 +93,8 @@ void VStarCamRecorder::Snapshot(Http::HttpClient* pHttpClient, const Settings& s
try
{
std::ofstream file(fileName.str());
file << pHttpClient->GetUrlContents(url.str());
Http::HttpRequest request(url.str());
file << pHttpClient->Open(request);
file.close();
}
catch (const std::exception& e)