aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/OSHttpHandler.cs
diff options
context:
space:
mode:
authorDr Scofield2008-07-18 15:31:28 +0000
committerDr Scofield2008-07-18 15:31:28 +0000
commit0ea73384d4506c83bcd9f721a13fd5be11d1cc33 (patch)
tree1645c02c6ee5f025fb7eab8800c94b293fe738ac /OpenSim/Framework/Servers/OSHttpHandler.cs
parentremove all the odd quoting, on the off chance this was causing some (diff)
downloadopensim-SC_OLD-0ea73384d4506c83bcd9f721a13fd5be11d1cc33.zip
opensim-SC_OLD-0ea73384d4506c83bcd9f721a13fd5be11d1cc33.tar.gz
opensim-SC_OLD-0ea73384d4506c83bcd9f721a13fd5be11d1cc33.tar.bz2
opensim-SC_OLD-0ea73384d4506c83bcd9f721a13fd5be11d1cc33.tar.xz
simplifying OSHTtpHandler (a bit), adding query string matching,
adapting OSHttpXmlRpcHandler accordingly. NOTE: this code is not live.
Diffstat (limited to 'OpenSim/Framework/Servers/OSHttpHandler.cs')
-rw-r--r--OpenSim/Framework/Servers/OSHttpHandler.cs22
1 files changed, 10 insertions, 12 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpHandler.cs b/OpenSim/Framework/Servers/OSHttpHandler.cs
index 8b65438..6e8f6fb 100644
--- a/OpenSim/Framework/Servers/OSHttpHandler.cs
+++ b/OpenSim/Framework/Servers/OSHttpHandler.cs
@@ -93,6 +93,16 @@ namespace OpenSim.Framework.Servers
93 protected Regex _path; 93 protected Regex _path;
94 94
95 /// <summary> 95 /// <summary>
96 /// Dictionary of (query name, regular expression) tuples,
97 /// allowing us to match on URI query fields.
98 /// </summary>
99 public virtual Dictionary<string, Regex> Query
100 {
101 get { return _query; }
102 }
103 protected Dictionary<string, Regex> _query;
104
105 /// <summary>
96 /// Dictionary of (header name, regular expression) tuples, 106 /// Dictionary of (header name, regular expression) tuples,
97 /// allowing us to match on HTTP header fields. 107 /// allowing us to match on HTTP header fields.
98 /// </summary> 108 /// </summary>
@@ -119,18 +129,6 @@ namespace OpenSim.Framework.Servers
119 129
120 130
121 /// <summary> 131 /// <summary>
122 /// An OSHttpHandler that matches on the "content-type" header can
123 /// supply an OSHttpContentTypeChecker delegate which will be
124 /// invoked by the request matcher in OSHttpRequestPump.
125 /// </summary>
126 /// <returns>true if the handler is interested in the content;
127 /// false otherwise</returns>
128 internal virtual OSHttpContentTypeChecker ContentTypeChecker
129 {
130 get { return null; }
131 }
132
133 /// <summary>
134 /// Base class constructor. 132 /// Base class constructor.
135 /// </summary> 133 /// </summary>
136 /// <param name="path">null or path regex</param> 134 /// <param name="path">null or path regex</param>