mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Bug fix in SynchronousRestFormsRequester -- Write instead of WriteLine, which was causing an extra \n to be written into the buffer.
This commit is contained in:
@@ -59,11 +59,11 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
int length = 0;
|
||||
using (StreamWriter writer = new StreamWriter(buffer))
|
||||
{
|
||||
writer.WriteLine(obj);
|
||||
writer.Write(obj);
|
||||
writer.Flush();
|
||||
length = (int)buffer.Length;
|
||||
}
|
||||
|
||||
length = (int)obj.Length;
|
||||
request.ContentLength = length;
|
||||
|
||||
Stream requestStream = request.GetRequestStream();
|
||||
|
||||
Reference in New Issue
Block a user