

def post_start_creation(self, filename, options):
    "Start object creation with a POST.\n\n    This implements the resumable upload XML API.\n\n    Args:\n      filename: gs filename of form /bucket/filename.\n      options: a dict containing all user specified request headers.\n        e.g. {'content-type': 'foo', 'x-goog-meta-bar': 'bar'}.\n\n    Returns:\n      a token used for continuing upload. Also used as blobkey to store\n    the content.\n    "
    common.validate_file_path(filename)
    token = self._filename_to_blobkey(filename)
    gcs_file = _AE_GCSFileInfo_.get_by_key_name(token)
    filename._cleanup_old_file(gcs_file)
    new_file = _AE_GCSFileInfo_(key_name=token, filename=filename, finalized=False)
    new_file.options = options
    new_file.put()
    return token

dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/cloudstorage/cloudstorage_stub.py CloudStorageStub.post_start_creation/VarMisuse@41/218 `self`->`filename`