'Creates object segments.'

def create_object_segments(self, container, object_name, segment, data):

    url = '{0}/{1}/{2}'.format(container, object_name, segment)
    (resp, body) = self.put(url, data)
    self.expected_success(201, resp.status)
    return (resp, body)
