mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-12 22:27:37 +00:00
1 parent
100e661ac5
commit
290cbb63d8
5 files changed
+78
-45
No files matched your search
@@ -87,6 +87,10 @@ public class HttpRequestUtil {
|
||||
|
||||
public static HttpResponce makeHttpRequest(HttpRequest request, int redirectTime) {
|
||||
try {
|
||||
if(request.url.contains("{ABORT}")){
|
||||
CustomSkinLoader.logger.info("ABORT tag found in url, request has been aborted.");
|
||||
return new HttpResponce();
|
||||
}
|
||||
CustomSkinLoader.logger.debug("Try to request '" + request.url + (request.userAgent == null ? "'." : "' with user agent '" + request.userAgent + "'."));
|
||||
//Check Cache
|
||||
if (StringUtils.isNotEmpty(request.payload))
|
||||
|
||||
Reference in new issue
Block a user