aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/OSHttpResponse.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-09-30 05:39:52 +0000
committerTeravus Ovares2008-09-30 05:39:52 +0000
commit6ea5b515d025a14f706921fdaa5143c041ad7b4c (patch)
tree3b13bd8c96a897791abd1f1bf7fa9f0a07e867b2 /OpenSim/Framework/Servers/OSHttpResponse.cs
parentUpdate svn properties, minor formatting cleanup. (diff)
downloadopensim-SC_OLD-6ea5b515d025a14f706921fdaa5143c041ad7b4c.zip
opensim-SC_OLD-6ea5b515d025a14f706921fdaa5143c041ad7b4c.tar.gz
opensim-SC_OLD-6ea5b515d025a14f706921fdaa5143c041ad7b4c.tar.bz2
opensim-SC_OLD-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 'OpenSim/Framework/Servers/OSHttpResponse.cs')
-rw-r--r--OpenSim/Framework/Servers/OSHttpResponse.cs17
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>