code: def rest_put_stream(self, url, stream, headers=None, session=None, verify=True, cert=None):
          
          res = session.put(url, headers=headers, data=stream, verify=verify, cert=cert)
          return res.text, res.status_code
docs: Perform a chunked PUT request to url with requests.session
          This is specifically to upload files.