Diff of /trunk/AssetServer/Extensions/OpenSimFrontend.cs
Parent Directory
|
Revision Log
|
Patch
| revision 76, Fri Feb 13 21:28:30 2009 UTC | revision 77, Fri Feb 13 23:47:24 2009 UTC | |
|---|---|---|
| # | Line 115 | Line 115 |
| 115 | writer.WriteEndDocument(); | writer.WriteEndDocument(); |
| 116 | ||
| 117 | writer.Flush(); | writer.Flush(); |
| byte[] buffer = stream.GetBuffer(); | ||
| 118 | ||
| 119 | response.Status = HttpStatusCode.OK; | response.Status = HttpStatusCode.OK; |
| 120 | response.ContentType = "application/xml"; | response.ContentType = "application/xml"; |
| 121 | response.ContentLength = stream.Length; | response.ContentLength = stream.Length; |
| 122 | response.Body.Write(buffer, 0, (int)stream.Length); | response.Body.Write(stream.GetBuffer(), 0, (int)stream.Length); |
| 123 | response.Body.Flush(); | response.Body.Flush(); |
| 124 | } | } |
| 125 | else | else |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

