diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/RestStreamHandler.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/RestStreamHandler.cs b/OpenSim/Framework/Servers/RestStreamHandler.cs index 76dbd73..301b0a9 100644 --- a/OpenSim/Framework/Servers/RestStreamHandler.cs +++ b/OpenSim/Framework/Servers/RestStreamHandler.cs | |||
@@ -27,6 +27,7 @@ | |||
27 | 27 | ||
28 | using System.IO; | 28 | using System.IO; |
29 | using System.Text; | 29 | using System.Text; |
30 | using System.Net; | ||
30 | 31 | ||
31 | namespace OpenSim.Framework.Servers | 32 | namespace OpenSim.Framework.Servers |
32 | { | 33 | { |
@@ -39,7 +40,7 @@ namespace OpenSim.Framework.Servers | |||
39 | get { return m_restMethod; } | 40 | get { return m_restMethod; } |
40 | } | 41 | } |
41 | 42 | ||
42 | public override byte[] Handle(string path, Stream request) | 43 | public override byte[] Handle(string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse) |
43 | { | 44 | { |
44 | Encoding encoding = Encoding.UTF8; | 45 | Encoding encoding = Encoding.UTF8; |
45 | StreamReader streamReader = new StreamReader(request, encoding); | 46 | StreamReader streamReader = new StreamReader(request, encoding); |