mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Fox case on a method
This commit is contained in:
@@ -603,7 +603,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
response["str_response_string"] = string.Empty;
|
||||
response["content-type"] = "text/xml";
|
||||
|
||||
Hashtable requestBody = parseRequestBody((string)request["body"]);
|
||||
Hashtable requestBody = ParseRequestBody((string)request["body"]);
|
||||
|
||||
if (!requestBody.ContainsKey("auth_token"))
|
||||
return response;
|
||||
@@ -675,7 +675,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
string uri = (string)request["uri"];
|
||||
string contenttype = (string)request["content-type"];
|
||||
|
||||
Hashtable requestBody = parseRequestBody((string)request["body"]);
|
||||
Hashtable requestBody = ParseRequestBody((string)request["body"]);
|
||||
|
||||
//string pwd = (string) requestBody["pwd"];
|
||||
string userid = (string) requestBody["userid"];
|
||||
@@ -719,7 +719,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Voice.FreeSwitchVoice
|
||||
return response;
|
||||
}
|
||||
|
||||
public Hashtable parseRequestBody(string body)
|
||||
public Hashtable ParseRequestBody(string body)
|
||||
{
|
||||
Hashtable bodyParams = new Hashtable();
|
||||
// split string
|
||||
|
||||
Reference in New Issue
Block a user