Commit e2ec80e
committed
fix(#195): Handle zero-byte downloads correctly.
When downloading zero byte files previously, the responseData handler raises an error while the plain response handler meant for file downloads does not.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>1 parent 1f63a5a commit e2ec80e
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
| 53 | + | |
| 54 | + | |
56 | 55 | | |
57 | 56 | | |
58 | | - | |
| 57 | + | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
0 commit comments