Skip to content

Commit 76ace26

Browse files
committed
Show progress when content-length is unknown
Fixes #833
1 parent 604fb8f commit 76ace26

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/req-progress.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ make_progress <- function(type, frame = caller_env()) {
6161
}
6262
}
6363

64-
if (now < total && total > 0) {
64+
if (now < total || total == 0) {
6565
cli::cli_progress_update(set = now, .envir = frame)
6666
} else {
6767
cli::cli_progress_done(.envir = frame)

0 commit comments

Comments
 (0)