'Send a single file on its way.'

def SendSingleFile(self, path, payload, mime_type):

    logging.info('Uploading    %s    %s    (%s    bytes,    type=%s)    to    %s.', self.what, path, len(payload), mime_type, self.single_url)
    self.logging_context.Send(self.single_url, payload=payload, content_type=mime_type, path=path)
