mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
replace HttpWebRequest by HttpClient on another place
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user