'Set the DataContainer which we\'ll use for post-data'

def set_data(self, post_data):

    if (not isinstance(post_data, DataContainer)):
        raise TypeError(('The    "post_data"    parameter    of    a    %s    must    be    of    DataContainer    type.' % type(self).__name__))
    self._post_data = post_data
