Blame SOURCES/BZ-1585596-support-http-connect-with-reget.patch

e4c38f
diff -up urlgrabber-3.10/urlgrabber/grabber.py.orig urlgrabber-3.10/urlgrabber/grabber.py
e4c38f
--- urlgrabber-3.10/urlgrabber/grabber.py.orig	2019-08-23 23:05:08.724418881 +0200
e4c38f
+++ urlgrabber-3.10/urlgrabber/grabber.py	2019-08-23 23:05:17.105535941 +0200
e4c38f
@@ -1357,7 +1357,7 @@ class PyCurlFileObject(object):
e4c38f
                 if buf.lower().find('content-length:') != -1:
e4c38f
                     length = buf.split(':')[1]
e4c38f
                     self.size = int(length)
e4c38f
-                elif self.append and self._hdr_dump == '' and ' 200 ' in buf:
e4c38f
+                elif self.append and self._hdr_dump == '' and ' 200 OK ' in buf:
e4c38f
                     # reget was attempted but server sends it all
e4c38f
                     # undo what we did in _build_range()
e4c38f
                     self.append = False