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
@@ -101,7 +101,8 @@ Image::JpegImage WatchBotRecorder::Snapshot(Http::HttpClient* pHttpClient, const
try
{
image.SetImageData(pHttpClient->GetUrlContents(url.str()));
Http::HttpRequest request(url.str());
image.SetImageData(pHttpClient->Open(request));
}
catch (const std::exception& e)
{