code: def get_capabilities(self):
          
          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)
docs: Gets capabilities.
  
          Queries WFS server for its capabilities. Internally used by get_feature_type_info.