diff options
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r-- | OpenSim/Framework/Servers/RestMethod.cs | 3 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/RestStreamHandler.cs | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/RestMethod.cs b/OpenSim/Framework/Servers/RestMethod.cs index 1a31ef1..6bd34f5 100644 --- a/OpenSim/Framework/Servers/RestMethod.cs +++ b/OpenSim/Framework/Servers/RestMethod.cs | |||
@@ -27,5 +27,6 @@ | |||
27 | 27 | ||
28 | namespace OpenSim.Framework.Servers | 28 | namespace OpenSim.Framework.Servers |
29 | { | 29 | { |
30 | public delegate string RestMethod(string request, string path, string param); | 30 | public delegate string RestMethod(string request, string path, string param, |
31 | OSHttpRequest httpRequest, OSHttpResponse httpResponse); | ||
31 | } | 32 | } |
diff --git a/OpenSim/Framework/Servers/RestStreamHandler.cs b/OpenSim/Framework/Servers/RestStreamHandler.cs index 301b0a9..44c9dfc 100644 --- a/OpenSim/Framework/Servers/RestStreamHandler.cs +++ b/OpenSim/Framework/Servers/RestStreamHandler.cs | |||
@@ -49,7 +49,7 @@ namespace OpenSim.Framework.Servers | |||
49 | streamReader.Close(); | 49 | streamReader.Close(); |
50 | 50 | ||
51 | string param = GetParam(path); | 51 | string param = GetParam(path); |
52 | string responseString = m_restMethod(requestBody, path, param); | 52 | string responseString = m_restMethod(requestBody, path, param, httpRequest, httpResponse); |
53 | 53 | ||
54 | return Encoding.UTF8.GetBytes(responseString); | 54 | return Encoding.UTF8.GetBytes(responseString); |
55 | } | 55 | } |