replace HttpWebRequest by HttpClient on another place

This commit is contained in:
UbitUmarov
2023-05-16 22:57:23 +01:00
parent 7860e2d861
commit 19229aff64
8 changed files with 244 additions and 59 deletions

View File

@@ -28,6 +28,7 @@
using System;
using System.Collections.Specialized;
using System.Net;
using System.Net.Http.Headers;
namespace OpenSim.Framework.ServiceAuth
{
@@ -35,7 +36,8 @@ namespace OpenSim.Framework.ServiceAuth
{
public string Name { get { return "DisallowllHTTPRequest"; } }
public void AddAuthorization(NameValueCollection headers) {}
public void AddAuthorization(NameValueCollection headers) { }
public void AddAuthorization(HttpRequestHeaders headers) { }
public bool Authenticate(string data)
{