URLs and HTTP
In the terminalela --spec urls-and-http
| Built-in | Does |
|---|---|
url.escape(s) | s percent-encoded for one query value or path segment: My Notes.txt is My%20Notes.txt |
url.query(m) | A map as a query string, in the map's order, each key and value escaped: a=1&b=x%20y |
http is a package name ela keeps for its HTTP client (DECISIONS §26), so no import can take it.
A call to it is an error that says to ask with curl instead, out, err = try $(curl -sS $url).