mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-15 19:22:19 +08:00
parent
9bf0a400ba
commit
1440f2c2d9
|
@ -31,7 +31,13 @@ namespace BililiveRecorder.Core.Scripting.Runtime
|
|||
? throw new JavaScriptException(this._engine.Realm.Intrinsics.Error, "The provided value is not of type 'RequestInit'.")
|
||||
: arg1;
|
||||
|
||||
var handler = new HttpClientHandler();
|
||||
var handler = new HttpClientHandler
|
||||
{
|
||||
UseCookies = false,
|
||||
UseDefaultCredentials = false,
|
||||
UseProxy = false,
|
||||
};
|
||||
|
||||
var httpClient = new HttpClient(handler);
|
||||
var requestMessage = new HttpRequestMessage(HttpMethod.Get, urlString.ToString());
|
||||
var throwOnRedirect = false;
|
||||
|
|
Loading…
Reference in New Issue
Block a user