mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user