Commit 27c4e7f
webdav: fix range header formatting in relay request
An open-ended range like `bytes=0-` produced an invalid header
like "bytes=0-null", resulting in no data being transferred. This
patch implements support for open-ended ranges (`bytes=0-`) and
suffix ranges (`bytes=-500`).
References #7971
Signed-off-by: Martin Zurowietz <info@mzur.de>
(cherry picked from commit c7cbf8e)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>1 parent c3f73d2 commit 27c4e7f
1 file changed
Lines changed: 13 additions & 2 deletions
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1796 | 1796 | | |
1797 | 1797 | | |
1798 | 1798 | | |
1799 | | - | |
1800 | | - | |
| 1799 | + | |
| 1800 | + | |
| 1801 | + | |
| 1802 | + | |
| 1803 | + | |
| 1804 | + | |
| 1805 | + | |
| 1806 | + | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
| 1811 | + | |
1801 | 1812 | | |
1802 | 1813 | | |
1803 | 1814 | | |
| |||
0 commit comments