ContentRangeHeaderValue cv = new ContentRangeHeaderValue(
contentRange);
long length = cv.getInstanceLength();
if (!StringHelper.isEmptyString(originRange))
{
RangeHeaderValue rv = new RangeHeaderValue(originRange);
if (rv.getLastBytePos() > 0)
{
length = rv.getLastBytePos() + 1;
}
}
if (length > cv.getLastBytePos() + 1)
{
IniProperties cfg = SnovaConfiguration.getInstance()