mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-01-12 09:24:14 +00:00
Address code review feedback: fix Promise.race, improve statusText, use English error messages
Co-authored-by: qaiu <29825328+qaiu@users.noreply.github.com>
This commit is contained in:
@@ -82,7 +82,7 @@ public class JsFetchBridge {
|
||||
response = httpClient.getNoRedirect(url);
|
||||
break;
|
||||
default:
|
||||
throw new IllegalArgumentException("不支持的HTTP方法: " + method);
|
||||
throw new IllegalArgumentException("Unsupported HTTP method: " + method);
|
||||
}
|
||||
|
||||
log.debug("Fetch请求完成: {} {} - 状态码: {}", method, url, response.statusCode());
|
||||
|
||||
Reference in New Issue
Block a user