Skip to main content

Module util

Module util 

Source

Functions§

build_query_string
Build a URL query string using standard percent-encoding (%20 for spaces).
build_query_string_ordered
Like build_query_string but emits keys in the provided order.
parse_http_url
Parse and validate an HTTP/HTTPS URL (scheme + host check only).
parse_http_url_with_policy
Parse an HTTP URL and enforce the URL access policy.