remove Pragma: no-cache (which is HTTP 1.0)

This commit is contained in:
Thomas Bernard 2024-06-08 22:11:47 +02:00
parent a54f25a9e8
commit e35ef64459
1 changed files with 0 additions and 1 deletions

View File

@ -647,7 +647,6 @@ static int upnpc_send_soap_request(upnpc_device_t * p, const char * url,
evhttp_add_header(headers, "Content-Type", "text/xml; charset=\"utf-8\"");
/*evhttp_add_header(headers, "User-Agent", "OS/version UPnP/1.1 MiniUPnPc-libevent/2.2");*/
/*evhttp_add_header(headers, "Cache-Control", "no-cache");*/
/*evhttp_add_header(headers, "Pragma", "no-cache");*/
evbuffer_add(buffer, body, body_len);
evhttp_make_request(p->soap_conn, req, EVHTTP_REQ_POST, path);
free(body);