Gets capabilities.

        Queries WFS server for its capabilities. Internally used by get_feature_type_info.

def get_capabilities(self):
        """
        Gets capabilities.

        Queries WFS server for its capabilities. Internally used by get_feature_type_info.
        """
        params = {'service'      : 'WFS',
                  'request'      : 'GetCapabilities',
                  'version'      : '1.0.0'}

        caps_response = requests.get(self._wfs_server, params=params)
        caps_response.raise_for_status()

        return ET.fromstring(caps_response.content)