<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Just a quick one,<BR>
 <BR>
I don't have time to fix this up, and I guess we should discuss it first;<BR>
 <BR>
the issue is that parts of the code presumes url segments _ends_ with '/' and others they _begin_ with '/'<BR>
 <BR>
this leads to heavy confusion and easily done mistakes<BR>
 <BR>
now, the Uri class (which, together with UriBuilder, is poorly underused) ToString _appends_ an '/'<BR>
 <BR>
which I consider the proper behaviour: all segments appends an '/' to show they represent a hierarchy node.<BR>
 <BR>
I've already made the inventoryUrl wrapping an Uri to safeguard against missing trailing '/' in the ini, which is/was one of our most common mistakes, it seems. (and a bloody easy one at that)<BR>
 <BR>
Now, for example, the REST code, presumes the opposite<BR>
 <BR>
which means we can't combine the output of a Uri with the output from the RestClient.<BR>
 <BR>
So I can't wrap the asset url the same way.<BR>
 <BR>
Which sucks.<BR>
 <BR>
Either way, I suggest we use postfix notation in accordance with Uri class standard, but most of all I would want us to harmonize on one or the other.<BR>
 <BR>
Discussions?<BR>
 <BR>
/Stefan<BR>
 <BR></body>
</html>