'Returns the number of bytes that will be fetched from the specified
segment on a plain GET request for this SLO manifest.'

def _segment_length(self, seg_dict):

    seg_range = seg_dict.get('range')
    if (seg_range is not None):
        (range_start, range_end) = [int(x) for x in seg_range.split('-')]
        return ((range_end - range_start) + 1)
    else:
        return int(seg_dict['bytes'])
