<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">El 7/1/25 a las 14:33, olivier auverlot
via Cuis-dev escribió:<br>
</div>
<blockquote type="cite"
cite="mid:CAJK8VobOaWJ4+bXFYG_Usmyr9L4g3tTEbxrn0eL3PxDN9LQL9g@mail.gmail.com">This
is just a lightweight package I wrote to make URI construction
easier. I don't think it's essential, it's just handy for my
current project. <br>
</blockquote>
<p>I would argue URIs are a very common thing and present across
different types of projects, and the good way to handle them is
treating them not as strings, and so having an utility package for
URI manipulations makes sense IMO.</p>
<p>Btw, about the design, I think I would make the api more
straightforward, not include the intermediate objects.</p>
<p>Something like:</p>
<pre><code>URI
scheme: #https
authentication: (URIAuthentication username: 'john' password: '1234')
host: '<a class="moz-txt-link-abbreviated" href="http://www.domain.com">www.domain.com</a>'
port: 8080
path: '/folder/file'
query: {'id' -> 42. 'name' -> 'john.doe'}
fragment: 'row=1'.
</code></pre>
<p>Is this the only library available for URIs?<br>
</p>
<p> </p>
<p> Mariano<br>
</p>
</body>
</html>