diff options
Diffstat (limited to 'OpenSim/ConsoleClient')
-rw-r--r-- | OpenSim/ConsoleClient/Requester.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/ConsoleClient/Requester.cs b/OpenSim/ConsoleClient/Requester.cs index fefe969..aabb02c 100644 --- a/OpenSim/ConsoleClient/Requester.cs +++ b/OpenSim/ConsoleClient/Requester.cs | |||
@@ -50,7 +50,7 @@ namespace OpenSim.ConsoleClient | |||
50 | 50 | ||
51 | request.ContentType = "application/x-www-form-urlencoded"; | 51 | request.ContentType = "application/x-www-form-urlencoded"; |
52 | 52 | ||
53 | byte[] buffer = new System.Text.ASCIIEncoding().GetBytes(data); | 53 | byte[] buffer = Encoding.ASCII.GetBytes(data); |
54 | int length = (int) buffer.Length; | 54 | int length = (int) buffer.Length; |
55 | request.ContentLength = length; | 55 | request.ContentLength = length; |
56 | 56 | ||