protected static IDictionary<string, string> ParseMap(string body)
{
var map = new Dictionary<string, string>();
StringTokenizer st = new StringTokenizer(body, " \n\t");
while (st.HasMoreTokens())
{
string a = st.NextToken();
int idx = a.IndexOf('=');
if (idx > 0)
{
string k = a.Substring(0, idx - 0);
string v = a.Substring(idx + 1);
map[k] = v;
}
else
{
map[a] = a;
}
}
return map;
}
}