aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/OSHttpResponse.cs
diff options
context:
space:
mode:
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>