RGWHTTPTransceiver openidc_req(cct, "GET", openidc_wellknown_url, &openidc_resp);
- //Headers
- openidc_req.append_header("Content-Type", "application/x-www-form-urlencoded");
-
int res = openidc_req.process(dpp, y);
if (res < 0) {
ldpp_dout(dpp, 10) << "HTTP request res: " << res << dendl;
// Get certificate
bufferlist cert_resp;
RGWHTTPTransceiver cert_req(cct, "GET", cert_url, &cert_resp);
- //Headers
- cert_req.append_header("Content-Type", "application/x-www-form-urlencoded");
int res = cert_req.process(dpp, y);
if (res < 0) {