title: requests.get is slow with images
body: <p>This downloads 20 images from Github &amp; it takes around 57 seconds to run.
  When I ran this on another PC in with a different internet connection I got the same results
  is there any way to speed it up?</p>
  <p>the images are ~1 MB</p>
  <pre><code>def loadImage(url, Finger):
      response = requests.get(url)
      image = np.asarray(bytearray(response.content), dtype=&quot;uint8&quot;)
      image = cv2.imdecode(image, cv2.IMREAD_GRAYSCALE)
  
      if Finger:
          image = cv2.resize(image,(320, 550))
      else:
          image = cv2.resize(image,(127,127))
  
      return image
  
  class Finerprint:
      def __init__(self):
          self.fingerImg = []
          self.fingerSol = [None] * 4
  
  
  fingerprints = [None] * 4
  
  
  def initFingerprints():
      # Initialize the four fingerprints
      for i in range(4):
          fingerprints[i] = Finerprint()
          fingerprints[i].fingersol = []
  
      for i in range(4):
          print(f&quot;Loading F{i}&quot;)
          fingerprints[i].fingerImg = loadImage(f&quot;https://raw.githubusercontent.com/HazemMohamed98/GTA-Online-Fingerprint/Images/F{i + 1}.jpg&quot;, True)
          for j in range(4):
              print(f&quot;Loading F{i}S{j}&quot;)
              fingerprints[i].fingerSol[j] = loadImage(f&quot;https://raw.githubusercontent.com/HazemMohamed98/GTA-Online-Fingerprint/Images/F{i + 1}S{j + 1}.jpg&quot;, False)
  
  initFingerprints()
  </code></pre>