diff options
Diffstat (limited to 'OpenSim/Framework/Servers/OSHttpHandler.cs')
-rw-r--r-- | OpenSim/Framework/Servers/OSHttpHandler.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpHandler.cs b/OpenSim/Framework/Servers/OSHttpHandler.cs index 66fff3e..838f29a 100644 --- a/OpenSim/Framework/Servers/OSHttpHandler.cs +++ b/OpenSim/Framework/Servers/OSHttpHandler.cs | |||
@@ -72,21 +72,21 @@ namespace OpenSim.Framework.Servers | |||
72 | /// Regular expression used to match against method of | 72 | /// Regular expression used to match against method of |
73 | /// the incoming HTTP request. If you want to match any string | 73 | /// the incoming HTTP request. If you want to match any string |
74 | /// either use '.*' or null. To match on the empty string use | 74 | /// either use '.*' or null. To match on the empty string use |
75 | /// '^$'. | 75 | /// '^$'. |
76 | /// </summary> | 76 | /// </summary> |
77 | public virtual Regex Method | 77 | public virtual Regex Method |
78 | { | 78 | { |
79 | get { return _method; } | 79 | get { return _method; } |
80 | } | 80 | } |
81 | protected Regex _method; | 81 | protected Regex _method; |
82 | 82 | ||
83 | /// <summary> | 83 | /// <summary> |
84 | /// Regular expression used to match against path of the | 84 | /// Regular expression used to match against path of the |
85 | /// incoming HTTP request. If you want to match any string | 85 | /// incoming HTTP request. If you want to match any string |
86 | /// either use '.*' or null. To match on the emtpy string use | 86 | /// either use '.*' or null. To match on the emtpy string use |
87 | /// '^$'. | 87 | /// '^$'. |
88 | /// </summary> | 88 | /// </summary> |
89 | public virtual Regex Path | 89 | public virtual Regex Path |
90 | { | 90 | { |
91 | get { return _path; } | 91 | get { return _path; } |
92 | } | 92 | } |
@@ -97,7 +97,7 @@ namespace OpenSim.Framework.Servers | |||
97 | /// allowing us to match on URI query fields. | 97 | /// allowing us to match on URI query fields. |
98 | /// </summary> | 98 | /// </summary> |
99 | public virtual Dictionary<string, Regex> Query | 99 | public virtual Dictionary<string, Regex> Query |
100 | { | 100 | { |
101 | get { return _query; } | 101 | get { return _query; } |
102 | } | 102 | } |
103 | protected Dictionary<string, Regex> _query; | 103 | protected Dictionary<string, Regex> _query; |
@@ -107,7 +107,7 @@ namespace OpenSim.Framework.Servers | |||
107 | /// allowing us to match on HTTP header fields. | 107 | /// allowing us to match on HTTP header fields. |
108 | /// </summary> | 108 | /// </summary> |
109 | public virtual Dictionary<string, Regex> Headers | 109 | public virtual Dictionary<string, Regex> Headers |
110 | { | 110 | { |
111 | get { return _headers; } | 111 | get { return _headers; } |
112 | } | 112 | } |
113 | protected Dictionary<string, Regex> _headers; | 113 | protected Dictionary<string, Regex> _headers; |
@@ -137,7 +137,7 @@ namespace OpenSim.Framework.Servers | |||
137 | /// <param name="contentType">null or content type | 137 | /// <param name="contentType">null or content type |
138 | /// regex</param> | 138 | /// regex</param> |
139 | /// <param name="whitelist">null or IP address regex</param> | 139 | /// <param name="whitelist">null or IP address regex</param> |
140 | public OSHttpHandler(Regex method, Regex path, Dictionary<string, Regex> query, | 140 | public OSHttpHandler(Regex method, Regex path, Dictionary<string, Regex> query, |
141 | Dictionary<string, Regex> headers, Regex contentType, Regex whitelist) | 141 | Dictionary<string, Regex> headers, Regex contentType, Regex whitelist) |
142 | { | 142 | { |
143 | _method = method; | 143 | _method = method; |
@@ -155,7 +155,7 @@ namespace OpenSim.Framework.Servers | |||
155 | 155 | ||
156 | /// <summary> | 156 | /// <summary> |
157 | /// Process an incoming OSHttpRequest that matched our | 157 | /// Process an incoming OSHttpRequest that matched our |
158 | /// requirements. | 158 | /// requirements. |
159 | /// </summary> | 159 | /// </summary> |
160 | /// <returns> | 160 | /// <returns> |
161 | /// OSHttpHandlerResult.Pass if we are after all not | 161 | /// OSHttpHandlerResult.Pass if we are after all not |
@@ -180,4 +180,4 @@ namespace OpenSim.Framework.Servers | |||
180 | return sw.ToString(); | 180 | return sw.ToString(); |
181 | } | 181 | } |
182 | } | 182 | } |
183 | } \ No newline at end of file | 183 | } |