looks like there is currently no function that could be used to replace parts of uri (such as userpart) with a new value. it can be done by copying the uri temporarily to request uri or by a ugly regular expression.
should i write utility function(s) for replacing userpart and perhaps also hostpart or are there better, more generic suggestions?
-- juha