add parse_uri and request_uri method