29 using System.Collections.Specialized;
32 namespace OpenSim.Framework.ServiceAuth
36 public string Name {
get {
return "DisallowllHTTPRequest"; } }
49 if (requestHeaders[
"X-SecondLife-Shard"] != null)
51 statusCode = HttpStatusCode.Forbidden;
55 statusCode = HttpStatusCode.OK;
void AddAuthorization(NameValueCollection headers)
bool Authenticate(string data)
bool Authenticate(NameValueCollection requestHeaders, AddHeaderDelegate d, out HttpStatusCode statusCode)
delegate void AddHeaderDelegate(string key, string value)