function decode() { $t = http_request::type($this->type, 0); if ($t == "php") { return unserialize($this->content); } elseif ($t == "url") { parse_str($this->content, $r); return $r; } elseif ($t == "form") { // oh, not yet exactly } }