From a54f25a9e80b15704479923b28a7099f8e46f023 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sat, 8 Jun 2024 22:09:46 +0200 Subject: [PATCH] remove Pragma: no-cache (which is HTTP 1.0) --- miniupnpc-async/miniupnpc-async.c | 1 - 1 file changed, 1 deletion(-) diff --git a/miniupnpc-async/miniupnpc-async.c b/miniupnpc-async/miniupnpc-async.c index a5bb431..2643d0a 100644 --- a/miniupnpc-async/miniupnpc-async.c +++ b/miniupnpc-async/miniupnpc-async.c @@ -695,7 +695,6 @@ static int upnpc_build_soap_request(upnpc_device_t * p, const char * url, "SOAPAction: \"%s#%s\"\r\n" "Connection: close\r\n" "Cache-Control: no-cache\r\n" /* ??? */ - "Pragma: no-cache\r\n" "\r\n" "%s"; char hostname[MAXHOSTNAMELEN+1];