diff options
author | Teravus Ovares | 2008-09-30 05:39:52 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-09-30 05:39:52 +0000 |
commit | 6ea5b515d025a14f706921fdaa5143c041ad7b4c (patch) | |
tree | 3b13bd8c96a897791abd1f1bf7fa9f0a07e867b2 /OpenSim/Framework/Servers/OSHttpResponse.cs | |
parent | Update svn properties, minor formatting cleanup. (diff) | |
download | opensim-SC-6ea5b515d025a14f706921fdaa5143c041ad7b4c.zip opensim-SC-6ea5b515d025a14f706921fdaa5143c041ad7b4c.tar.gz opensim-SC-6ea5b515d025a14f706921fdaa5143c041ad7b4c.tar.bz2 opensim-SC-6ea5b515d025a14f706921fdaa5143c041ad7b4c.tar.xz |
* Get the code up to speed with my -#dev e-mail example. (uncomment out lines 227 - 235 to test.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/OSHttpResponse.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpResponse.cs b/OpenSim/Framework/Servers/OSHttpResponse.cs index 6fff026..f881a22 100644 --- a/OpenSim/Framework/Servers/OSHttpResponse.cs +++ b/OpenSim/Framework/Servers/OSHttpResponse.cs | |||
@@ -200,6 +200,23 @@ namespace OpenSim.Framework.Servers | |||
200 | } | 200 | } |
201 | } | 201 | } |
202 | 202 | ||
203 | public Version ProtocolVersion | ||
204 | { | ||
205 | get | ||
206 | { | ||
207 | if (!HttpServer) | ||
208 | return _httpListenerResponse.ProtocolVersion; | ||
209 | |||
210 | return new Version("1.0"); | ||
211 | } | ||
212 | set | ||
213 | { | ||
214 | if (!HttpServer) | ||
215 | _httpListenerResponse.ProtocolVersion = value; | ||
216 | |||
217 | } | ||
218 | } | ||
219 | |||
203 | /// <summary> | 220 | /// <summary> |
204 | /// Return the output stream feeding the body. | 221 | /// Return the output stream feeding the body. |
205 | /// </summary> | 222 | /// </summary> |