Bump 14.10

This commit is contained in:
xfl03 committed 2019-03-03 12:20:28 +08:00
1 parent 4f2b5edf84
commit 88763d64ef
3 files changed
+5 -5

No files matched your search

@@ -81,6 +81,9 @@ public class Logger {
public void debug(String msg){
log(Level.DEBUG,msg);
}
public void debug(String format, Object... objs) {
debug(String.format(format, objs));
}
public void info(String msg){
log(Level.INFO,msg);
}
@@ -145,9 +145,6 @@ public class HttpRequestUtil {
return responce;
}
request.url = c.getHeaderField("Location");//Get redirecting location
if (request.url == null) {
request.url = c.getHeaderField("location");//Another way
}
if (request.url == null) {
CustomSkinLoader.logger.debug("Failed to request (Redirecting location not found)");
return responce;
@@ -156,7 +153,7 @@ public class HttpRequestUtil {
return makeHttpRequest(request, redirectTime + 1);//Recursion
}
responce.success=true;
CustomSkinLoader.logger.debug("Successfully request (Response Code: "+c.getResponseCode()+" , Content Length: "+c.getContentLength()+")");
CustomSkinLoader.logger.debug("Successfully request (Response Code: " + res + " , Content Length: " + c.getContentLength() + ")");
if(responce.responceCode==HttpURLConnection.HTTP_NOT_MODIFIED)
return loadFromCache(request,responce);
if (responce.responceCode == HttpURLConnection.HTTP_NO_CONTENT)
+1 -1
View File
@@ -3,4 +3,4 @@ group=customskinloader
version=14.10
dev_version=
#RELEASE: snapshot=0
snapshot=1
snapshot=0