286a90fc68aaf895e494cf44532aff2732908bc7
galt
  Wed Sep 16 19:31:50 2015 -0700
This extra condition has been missing since 2011-10-21.

diff --git src/lib/net.c src/lib/net.c
index 7701ec0..3fd1abf 100644
--- src/lib/net.c
+++ src/lib/net.c
@@ -1495,31 +1495,31 @@
 		warn("Found Content-Range: %s. Expected bytes %lld-%s. Improper caching of 206 reponse byte-ranges?",
 		    headerVal, (long long) byteRangeStart, bre);
     		return FALSE;
 		}
 	    }
 	}
     }
 if (mustUseProxy ||  mustUseProxyAuth)
     {
     warn("%s: %s error. Use Proxy%s. Location = %s", url, 
 	mustUseProxy ? "" : " Authentication", 
 	mustUseProxy ? "305" : "407", 
 	proxyLocation ? proxyLocation : "not given");
     return FALSE;
     }
-if (byteRangeUsed && !foundContentRange
+if (byteRangeUsed && !foundContentRange && !redirect
 	    /* hack for Apache bug 2.2.20 and 2.2.21 2011-10-21 should be OK to remove after one year. */
 		&& !(byteRangeStart == 0 && byteRangeEnd == -1))  
     {
     char bre[256];
     safef(bre, sizeof bre, "%lld", (long long)byteRangeEnd);
     if (byteRangeEnd == -1)
 	bre[0] = 0;
     warn("Expected response header Content-Range: %lld-%s", (long long) byteRangeStart, bre);
     return FALSE;
     }
 
 return TRUE;
 }
 
 char *transferParamsToRedirectedUrl(char *url, char *newUrl)