engine.Add("_GET", Get.Create(p));
public static PropertyBag Create(HttpProcessor p)
{
var props = new PropertyBag();
var uri = new Uri("htt://localhost" + p.http_url);
var q = uri.Query;
foreach (var qi in q.Split(new[] { '&', '?' }, StringSplitOptions.RemoveEmptyEntries))
{
var s = qi.Split('=');
props.Add(s[0], s[1]);
}
return props;
}