For instance I have the following url pattern:
url_pattern = {
"scheme": "http",
"netloc": "for.example.com",
"path": "/ex1",
"params": "",
"query": a=b&c=d,
"fragment": ""
}
It's just like the inverse of the output of urlparse.urlparse("http://for.example.com/ex1?a=b&c=d")
. Can I get the url from the dict?