Skip to content

Support params dict as query in make_url()

This MR updates the igwn_monitor.http.make_url() function to support parsing query as a dict of parameters, as one would pass to requests.get and friends. This is mainly for formatting full URLs in logs, rather than for constructing functional URLs to query.

This also patches the same function to not strip trailing slashes from paths, and to add a trailing slash to all bare domains.

Merge request reports

Loading