diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Servers/BaseStreamHandler.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Servers/RestStreamHandler.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/BaseStreamHandler.cs b/OpenSim/Framework/Servers/BaseStreamHandler.cs index 5fcf678..0d9c674 100644 --- a/OpenSim/Framework/Servers/BaseStreamHandler.cs +++ b/OpenSim/Framework/Servers/BaseStreamHandler.cs | |||
@@ -31,7 +31,7 @@ namespace OpenSim.Framework.Servers | |||
31 | 31 | ||
32 | public abstract byte[] Handle(string path, Stream request); | 32 | public abstract byte[] Handle(string path, Stream request); |
33 | 33 | ||
34 | protected BaseStreamHandler(string path, string httpMethod ) | 34 | protected BaseStreamHandler(string httpMethod, string path) |
35 | { | 35 | { |
36 | m_httpMethod = httpMethod; | 36 | m_httpMethod = httpMethod; |
37 | m_path = path; | 37 | m_path = path; |
diff --git a/OpenSim/Framework/Servers/RestStreamHandler.cs b/OpenSim/Framework/Servers/RestStreamHandler.cs index 7ca369d..1b3b41c 100644 --- a/OpenSim/Framework/Servers/RestStreamHandler.cs +++ b/OpenSim/Framework/Servers/RestStreamHandler.cs | |||
@@ -23,7 +23,7 @@ namespace OpenSim.Framework.Servers | |||
23 | return Encoding.UTF8.GetBytes(responseString); | 23 | return Encoding.UTF8.GetBytes(responseString); |
24 | } | 24 | } |
25 | 25 | ||
26 | public RestStreamHandler(string httpMethod, string path, RestMethod restMethod) : base( path, httpMethod ) | 26 | public RestStreamHandler(string httpMethod, string path, RestMethod restMethod) : base( httpMethod, path ) |
27 | { | 27 | { |
28 | m_restMethod = restMethod; | 28 | m_restMethod = restMethod; |
29 | } | 29 | } |