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.cs32
1 files changed, 16 insertions, 16 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpResponse.cs b/OpenSim/Framework/Servers/OSHttpResponse.cs
index 28d513a..72be790 100644
--- a/OpenSim/Framework/Servers/OSHttpResponse.cs
+++ b/OpenSim/Framework/Servers/OSHttpResponse.cs
@@ -36,36 +36,36 @@ namespace OpenSim.Framework.Servers
36 { 36 {
37 private string _contentType; 37 private string _contentType;
38 private bool _contentTypeSet; 38 private bool _contentTypeSet;
39 public string ContentType 39 public string ContentType
40 { 40 {
41 get { return _contentType; } 41 get { return _contentType; }
42 set 42 set
43 { 43 {
44 _contentType = value; 44 _contentType = value;
45 _contentTypeSet = true; 45 _contentTypeSet = true;
46 } 46 }
47 } 47 }
48 public bool IsContentTypeSet 48 public bool IsContentTypeSet
49 { 49 {
50 get { return _contentTypeSet; } 50 get { return _contentTypeSet; }
51 } 51 }
52 52
53 private long _contentLength64; 53 private long _contentLength64;
54 public long ContentLength64 54 public long ContentLength64
55 { 55 {
56 get { return _contentLength64; } 56 get { return _contentLength64; }
57 set 57 set
58 { 58 {
59 _contentLength64 = value; 59 _contentLength64 = value;
60 if (null != _resp) _resp.ContentLength64 = value; 60 if (null != _resp) _resp.ContentLength64 = value;
61 } 61 }
62 } 62 }
63 63
64 private Encoding _contentEncoding; 64 private Encoding _contentEncoding;
65 public Encoding ContentEncoding 65 public Encoding ContentEncoding
66 { 66 {
67 get { return _contentEncoding; } 67 get { return _contentEncoding; }
68 set 68 set
69 { 69 {
70 _contentEncoding = value; 70 _contentEncoding = value;
71 if (null != _resp) _resp.ContentEncoding = value; 71 if (null != _resp) _resp.ContentEncoding = value;
@@ -76,10 +76,10 @@ namespace OpenSim.Framework.Servers
76 public CookieCollection Cookies; 76 public CookieCollection Cookies;
77 77
78 private bool _keepAlive; 78 private bool _keepAlive;
79 public bool KeepAlive 79 public bool KeepAlive
80 { 80 {
81 get { return _keepAlive; } 81 get { return _keepAlive; }
82 set 82 set
83 { 83 {
84 _keepAlive = value; 84 _keepAlive = value;
85 if (null != _resp) _resp.KeepAlive = value; 85 if (null != _resp) _resp.KeepAlive = value;
@@ -92,7 +92,7 @@ namespace OpenSim.Framework.Servers
92 public string RedirectLocation 92 public string RedirectLocation
93 { 93 {
94 get { return _redirectLocation; } 94 get { return _redirectLocation; }
95 set 95 set
96 { 96 {
97 _redirectLocation = value; 97 _redirectLocation = value;
98 if (null != _resp) _resp.RedirectLocation = value; 98 if (null != _resp) _resp.RedirectLocation = value;
@@ -103,7 +103,7 @@ namespace OpenSim.Framework.Servers
103 public bool SendChunked 103 public bool SendChunked
104 { 104 {
105 get { return _sendChunked; } 105 get { return _sendChunked; }
106 set 106 set
107 { 107 {
108 _sendChunked = value; 108 _sendChunked = value;
109 if (null != _resp) _resp.SendChunked = value; 109 if (null != _resp) _resp.SendChunked = value;
@@ -111,10 +111,10 @@ namespace OpenSim.Framework.Servers
111 } 111 }
112 112
113 private int _statusCode; 113 private int _statusCode;
114 public int StatusCode 114 public int StatusCode
115 { 115 {
116 get { return _statusCode; } 116 get { return _statusCode; }
117 set 117 set
118 { 118 {
119 _statusCode = value; 119 _statusCode = value;
120 if (null != _resp) _resp.StatusCode = value; 120 if (null != _resp) _resp.StatusCode = value;
@@ -122,10 +122,10 @@ namespace OpenSim.Framework.Servers
122 } 122 }
123 123
124 private string _statusDescription; 124 private string _statusDescription;
125 public string StatusDescription 125 public string StatusDescription
126 { 126 {
127 get { return _statusDescription; } 127 get { return _statusDescription; }
128 set 128 set
129 { 129 {
130 _statusDescription = value; 130 _statusDescription = value;
131 if (null != _resp) _resp.StatusDescription = value; 131 if (null != _resp) _resp.StatusDescription = value;