425789e64fb2489457a8518e49897fb1454931b0
galt
  Tue Feb 15 09:41:52 2011 -0800
oops, now need to pass the full url with byterange so that it will expect 206 partial content response
diff --git src/lib/net.c src/lib/net.c
index 6a72092..284f05e 100644
--- src/lib/net.c
+++ src/lib/net.c
@@ -1685,31 +1685,31 @@
 	    else
 		{
 		verbose(2,"opening url %s\n", urlExt);
 		pc->sd = netUrlOpen(urlExt);
 		}
 	    if (pc->sd < 0)
 		{
 		pc->sd = oldSd;  /* failed to open, can retry later */
 		}
 	    else
 		{
 		char *newUrl = NULL;
 		int newSd = 0;
 		if (startsWith("http://",url) || startsWith("https://",url))
 		    {
-		    if (!netSkipHttpHeaderLinesHandlingRedirect(pc->sd, url, &newSd, &newUrl))
+		    if (!netSkipHttpHeaderLinesHandlingRedirect(pc->sd, urlExt, &newSd, &newUrl))
 			{
 			warn("Error processing http response for %s", url);
 			return FALSE;
 			}
 		    if (newUrl) 
 			{
 			/*  Update sd with newSd, replace it with newUrl, etc. */
 			pc->sd = newSd;
 			warn("Redirects not supported at this time: %s re-directed to: %s", url, newUrl);
 			freeMem(newUrl);  /* redirects with byterange do not work anyway */
 			return FALSE;
 			}
 		    }
 		++connOpen;
 		}