|
@@ -93,7 +93,8 @@ void VStarCamRecorder::Snapshot(Http::HttpClient* pHttpClient, const Settings& s
|
|
|
try
|
|
try
|
|
|
{
|
|
{
|
|
|
std::ofstream file(fileName.str());
|
|
std::ofstream file(fileName.str());
|
|
|
- file << pHttpClient->GetUrlContents(url.str());
|
|
|
|
|
|
|
+ Http::HttpRequest request(url.str());
|
|
|
|
|
+ file << pHttpClient->Open(request);
|
|
|
file.close();
|
|
file.close();
|
|
|
}
|
|
}
|
|
|
catch (const std::exception& e)
|
|
catch (const std::exception& e)
|