Files
marqdo/lib/url.mq.md
T
cflmyandCursor 08c48f3acb feat(stdlib): Mid2 M7 datetime and url
Add calendar moments as {unix,zone,iso} maps and URL/query parse
helpers in lib/ with thin host_* forwards; gold and public demos.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-09 09:14:18 +08:00

442 B

title, description
title description
lib/url Parse URLs and query strings (Mid2 M7). Segment encoding stays in net.url_encode.

parse

+ `text`

Returns {scheme, userinfo, host, port, path, query, fragment}.

> host_url_parse text=text

query_parse

+ `text`

Parse a=1&b=2 into a map; repeated keys become a list.

> host_url_query_parse text=text

query_stringify

+ `map`

> host_url_query_stringify map=map