bend-net-url
Search uses release 0.4.0.0 · 90 definitions
Definitions (90)
- type Url
- def unreserved
- def path_ok
- def hexn
- def hexhi
- def hexlo
- def pct.enc.push
- def pct.enc.path
- def pct.enc.query
- def pct.encode_path
- def pct.encode_q
- def unhex.H
- def unhex.h
- def unhex.d
- def unhex
- type PdLit: plain bytes.
- def pct.lit
- def pct.hi
- def pct.lo
- def pct.byte
- def pct.end
- def pct.step
- def pct.end.of
- def pct.step.of
- def pct.decode.go
- def pct.decode
- def take.cutBool.pick evaluates both arms; a split that recursed inside it would reverse acc at every byte.
- def take_to.gohit: the last char pushed onto acc was the stop char.
- def take_to(text before the first stop char, text after it)
- def pair
- def qput.decv
- def qput.dec
- def qput.kv
- def qput
- def qfold
- def parse.q
- def parse.path
- def parse.split
- def parse.ok
- def parse
- def enc.pairs.go
- def enc.pairs
- def encode.q
- def encode.go
- def encode
- def form.drop
- def form.go
- def formapplication/x-www-form-urlencoded.
- type Abstarget is the RFC 9112 §3.2.1 origin-form: path (never empty) and query, no fragment.
- def has
- def auth_end
- def take.back
- def take_auth.go§3.2: the authority runs to the first "/", "?" or "#".
- def default_port
- def abs.target
- def abs.fst
- def abs.build§3.5: the fragment is for the client; it never goes on the wire.
- def abs.port.num
- def abs.port§3.2.3: an empty port means the scheme's default.
- def abs.hostok
- def abs.hostport§3.2.2: hosts are case-insensitive.
- def abs.auth.ifWHATWG fetch refuses URLs that carry credentials (user:pass@).
- def abs.auth
- def abs.slashes
- def abs.scheme
- def absolutescheme://host[:port][/path][?query][#fragment]
- def abs.port.dflt
- def host_fieldRFC 9110 §7.2: the Host field; the default port may be left out.
- def dots.pop
- def dots.push
- def dots.join
- def dots.gostack is reversed; trail: the last segment was "." or "..", so a "/" ends the path.
- def dots.abs
- def remove_dots§5.2.4 for an absolute path: "." and ".." segments go away.
- def dir.go
- def dir§5.2.3: the base path up to and including its last "/".
- def with_q
- def res.build
- type PQA path, its query, and whether a "?" was present at all.
- def res.pq
- def res.ref
- def res.rel.go§5.2.2: an empty path keeps the base path (and its query unless one is given); "/..." replaces the path; anything else merges with the base directory.
- def res.rel
- def res.base
- def res.local
- def abs.scheme_of
- def res.net
- def scheme.ok
- def abs.has_scheme§3.1: a ":" before any "/", "?" or "#" with a valid scheme name before it.
- def resolveref against base: absolute http(s) URLs as is, "//host...", "/path", "?q", or a relative path.