Commit d805a5b
committed
PB-1024: remove unnecessary HTTP 206 exception handler from probe_asset
HTTP 206 (Partial Content) is a success status code, not an error,
so urllib.request.urlopen() returns it normally without raising an
HTTPError.1 parent 84c6882 commit d805a5b
1 file changed
Lines changed: 3 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
125 | 118 | | |
126 | 119 | | |
127 | 120 | | |
| |||
0 commit comments