Skip to content

Instantly share code, notes, and snippets.

@JordanMilne

JordanMilne/foo.py

Created Sep 1, 2015
Embed
What would you like to do?
>>> urlparse.urljoin("https://base.example.org/", "/foobar")
'https://base.example.org/foobar'
>>> urlparse.urljoin("https://base.example.org/", "//foobar")
'https://foobar'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.