title: pydrive: RedirectMissingLocation: Redirected but the response is missing a Location: header
body: <p>I need to override an existing file inside a google drive folder with a new file. This is what I have.  </p>
  
  <pre><code>file = drive.CreateFile({'id': &lt;id_of_file_which_I_wish_to_overwrite&gt;})
  file.SetContentFile(&lt;my_file_path&gt;)
  file.Upload()
  print('title: %s, mimeType: %s' % (file5['title'], file5['mimeType']))
  </code></pre>
  
  <p>I keep getting an error from file.Upload() line such as this:</p>
  
  <pre><code>RedirectMissingLocation: Redirected but the response is missing a Location: header.
  </code></pre>
  
  <p>Any ideas of what's causing this? What this Location is or the header? I noticed that I am not getting this error when I run the same code without file.SetContentFile and instead only change file metadata instead of overwriting it. </p>