|
@@ -181,7 +181,10 @@ int32_t flipper_http_worker(void *context)
|
|
|
if (file_buffer_len >= FILE_BUFFER_SIZE)
|
|
if (file_buffer_len >= FILE_BUFFER_SIZE)
|
|
|
{
|
|
{
|
|
|
if (!flipper_http_append_to_file(
|
|
if (!flipper_http_append_to_file(
|
|
|
- file_buffer, file_buffer_len, false, fhttp.file_path))
|
|
|
|
|
|
|
+ file_buffer,
|
|
|
|
|
+ file_buffer_len,
|
|
|
|
|
+ !fhttp.just_started_get && !fhttp.just_started_post,
|
|
|
|
|
+ fhttp.file_path))
|
|
|
{
|
|
{
|
|
|
FURI_LOG_E(HTTP_TAG, "Failed to append data to file");
|
|
FURI_LOG_E(HTTP_TAG, "Failed to append data to file");
|
|
|
}
|
|
}
|