Commit 1f3be60
committed
fix: use
The `StartingPoint` and `Suffix` branches used `.parse()` while the
`Range` branch used `u64_unprefixed_parse()`, producing different error
variants for the same kind of invalid input.u64_unprefixed_parse consistently in HttpRange parsing1 parent 83a74fd commit 1f3be60
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
| 49 | + | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 55 | + | |
| 56 | + | |
59 | 57 | | |
60 | 58 | | |
61 | 59 | | |
| |||
0 commit comments