def SplitURL(relative_url):
 (unused_scheme, unused_netloc, path, query, unused_fragment) = urlparse.urlsplit(relative_url)
 return (path, query)

def SplitURL ( relative_url ) : ( unused_scheme , unused_netloc , path , query , unused_fragment ) = urlparse . urlsplit ( relative_url ) return ( path , query )
splits an http url into pieces .