using the latest SWI Prolog on Win11, I’m trying to add custom header to http_get. As far as I understand, the options for http_get are related to the headers of the response, not the request.
Context is that I’m playing with the http API of OrientDB, which requires to send a session id in the GET header.
Looking at the documentation for HTTP client libraries, I see that http_get/3 calls http_open/3 and http_read_data/3 and passes its options to those two predicates; http_open/3 allows adding options request_header(Name=Value) … does that do what you want?