aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseRequestHandler.cs
diff options
context:
space:
mode:
authorJeff Ames2007-11-04 14:34:45 +0000
committerJeff Ames2007-11-04 14:34:45 +0000
commit2d1c255e8c427c8c595be455e6d7f5c4e01c99a6 (patch)
treea95f2a5085505192293603f8b0c9df23c4ac7041 /OpenSim/Framework/Servers/BaseRequestHandler.cs
parentApplying Teravus patch # 557. Some glue code for the updating of prim's veloc... (diff)
downloadopensim-SC_OLD-2d1c255e8c427c8c595be455e6d7f5c4e01c99a6.zip
opensim-SC_OLD-2d1c255e8c427c8c595be455e6d7f5c4e01c99a6.tar.gz
opensim-SC_OLD-2d1c255e8c427c8c595be455e6d7f5c4e01c99a6.tar.bz2
opensim-SC_OLD-2d1c255e8c427c8c595be455e6d7f5c4e01c99a6.tar.xz
normalized line endings
Diffstat (limited to 'OpenSim/Framework/Servers/BaseRequestHandler.cs')
-rw-r--r--OpenSim/Framework/Servers/BaseRequestHandler.cs68
1 files changed, 34 insertions, 34 deletions
diff --git a/OpenSim/Framework/Servers/BaseRequestHandler.cs b/OpenSim/Framework/Servers/BaseRequestHandler.cs
index b357763..155a283 100644
--- a/OpenSim/Framework/Servers/BaseRequestHandler.cs
+++ b/OpenSim/Framework/Servers/BaseRequestHandler.cs
@@ -1,35 +1,35 @@
1namespace OpenSim.Framework.Servers 1namespace OpenSim.Framework.Servers
2{ 2{
3 public class BaseRequestHandler 3 public class BaseRequestHandler
4 { 4 {
5 public virtual string ContentType 5 public virtual string ContentType
6 { 6 {
7 get { return "application/xml"; } 7 get { return "application/xml"; }
8 } 8 }
9 9
10 private readonly string m_httpMethod; 10 private readonly string m_httpMethod;
11 11
12 public virtual string HttpMethod 12 public virtual string HttpMethod
13 { 13 {
14 get { return m_httpMethod; } 14 get { return m_httpMethod; }
15 } 15 }
16 16
17 private readonly string m_path; 17 private readonly string m_path;
18 18
19 protected BaseRequestHandler(string httpMethod, string path) 19 protected BaseRequestHandler(string httpMethod, string path)
20 { 20 {
21 m_httpMethod = httpMethod; 21 m_httpMethod = httpMethod;
22 m_path = path; 22 m_path = path;
23 } 23 }
24 24
25 public virtual string Path 25 public virtual string Path
26 { 26 {
27 get { return m_path; } 27 get { return m_path; }
28 } 28 }
29 29
30 protected string GetParam(string path) 30 protected string GetParam(string path)
31 { 31 {
32 return path.Substring(m_path.Length); 32 return path.Substring(m_path.Length);
33 } 33 }
34 } 34 }
35} \ No newline at end of file 35} \ No newline at end of file