cdms2.cdurlparse

urldefrag(url)[source]

Removes any existing fragment from URL.

Returns
a tuple of the defragmented URL and the fragment.

If the URL contained no fragments, the second element is the empty string.