'Receive file uploads from the client.'

def HandleUploads(self):

    file_id = self.server.frontend.HandleUpload(self.headers.get('Transfer-Encoding'), self.headers.get('x-grr-upload-token'), self.GenerateFileData())
    self.Send(file_id)
