cgi.parse_qs is deprecated in favor of urlparse.parse_qs in python 2.6,