From bdc792d319601caa93790b21c33b3b623a4ac13c Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Thu, 22 May 2008 12:00:01 +0000 Subject: here are further enhancements to the IHttpAgentHandler and to BaseHttpServer (from awebb) i've added the OSHttpStatusCodes enumeration of HTTP status codes, have adapted BaseHttpServer to use those. then RestPlugin now has proper Failure handling returning proper HTTP status codes. Regions/POSTHandler is work-in-progress. --- OpenSim/Framework/Servers/IHttpAgentHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/Servers/IHttpAgentHandler.cs') diff --git a/OpenSim/Framework/Servers/IHttpAgentHandler.cs b/OpenSim/Framework/Servers/IHttpAgentHandler.cs index 9bca150..ff3a5b9 100644 --- a/OpenSim/Framework/Servers/IHttpAgentHandler.cs +++ b/OpenSim/Framework/Servers/IHttpAgentHandler.cs @@ -33,7 +33,7 @@ namespace OpenSim.Framework.Servers { public interface IHttpAgentHandler { - void Handle(OSHttpRequest req, OSHttpResponse resp); - bool Match(string agent); + bool Handle(OSHttpRequest req, OSHttpResponse resp); + bool Match(OSHttpRequest req, OSHttpResponse resp); } } -- cgit v1.1