I am trying to access a CSW (Catalog Service for the Web) using the MetaSearch in QGIS. The CSW Api works fine in PostMan with the API key authentication but I can't set the MetaSearch to use an API key. I have managed to add my key to the authentication in QGIS but have no Idea how to use it in MetaSearch.
here is the metasearch document.
Has anybody done that or should I make a plugin myself or is there maybe another way to connect to a CSW?
Edit: Checking the owslib in my QGIS, it turns out the headers property for CatalogServiceWeb class suggested by @juto96 is removed. I filled a report to see how it happened. The response from the csw is also parsed only as XML while my response is a JSON.