code: def getHeaders(self, upload_fields=False):
          
  
          if upload_fields:
              headers = self.deviceBuilder.getDeviceUploadHeaders()
          else:
              headers = self.deviceBuilder.getBaseHeaders()
          if self.gsfId is not None:
              headers["X-DFE-Device-Id"] = "{0:x}".format(self.gsfId)
          if self.authSubToken is not None:
              headers["Authorization"] = "GoogleLogin auth=%s" % self.authSubToken
          if self.device_config_token is not None:
              headers["X-DFE-Device-Config-Token"] = self.device_config_token
          if self.deviceCheckinConsistencyToken is not None:
              headers["X-DFE-Device-Checkin-Consistency-Token"] = self.deviceCheckinConsistencyToken
          if self.dfeCookie is not None:
              headers["X-DFE-Cookie"] = self.dfeCookie
          return headers
docs: Return the default set of request headers, which
          can later be expanded, based on the request type