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.
This commit is contained in:
Dr Scofield
2008-05-22 12:00:01 +00:00
parent f22a63bd1c
commit bdc792d319
7 changed files with 392 additions and 45 deletions

View File

@@ -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);
}
}