code: def element_for_url(cls, url):
          
          response = cls.http_request(url)
          if response.status != 200:
              cls.raise_http_error(response)
  
          assert response.getheader('Content-Type').startswith('application/xml')
  
          response_xml = response.read()
          logging.getLogger('recurly.http.response').debug(response_xml)
          response_doc = ElementTree.fromstring(response_xml)
  
          return response, response_doc
docs: Return the resource at the given URL, as a
          (`http_client.HTTPResponse`, `xml.etree.ElementTree.Element`) tuple
          resulting from a ``GET`` request to that URL.