code: def split(self, url):
          
          parts = url.split('://', 1)
          if len(parts) == 2:
              return parts
          else:
              return (None, url)
docs: Split the url into I{protocol} and I{location}
          @param url: A URL.
          @param url: str
          @return: (I{url}, I{location})
          @rtype: tuple