--- Begin Message ---
Hi Proxmox team
Today I noticed that Proxmox downloads are missing the Last-Modified header.
Last-modified header missing -- time-stamps turned off.
That makes it impossible to use wget —timestamping.
The modification-date in the Content-Disposition header is apparently not
enough to make that work, not even with the --content-disposition option.
Any chance you can add the Last-Modified header to downloads?
Thanks
Stefan
smr:Downloads smr$ wget -S --content-disposition --trust-server-names
--timestamping
'https://www.proxmox.com/en/downloads?task=callelement&format=raw&item_id=612&element=f85c494b-2b32-4109-b8c1-083cca2b7db6&method=download&args[0]=5c5c8789108e124c05c821fc7e848a5c'
--2021-09-19 10:46:32--
https://www.proxmox.com/en/downloads?task=callelement&format=raw&item_id=612&element=f85c494b-2b32-4109-b8c1-083cca2b7db6&method=download&args[0]=5c5c8789108e124c05c821fc7e848a5c
Resolving www.proxmox.com<http://www.proxmox.com>
(www.proxmox.com<http://www.proxmox.com>)... 2a01:7e0:0:424::12, 212.224.123.69
Connecting to www.proxmox.com<http://www.proxmox.com>
(www.proxmox.com<http://www.proxmox.com>)|2a01:7e0:0:424::12|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Sun, 19 Sep 2021 08:46:33 GMT
Content-Type: application/x-cd-image
Content-Length: 1053097984
Connection: keep-alive
Set-Cookie: 2f4d6fdc46bcd694b9e7af987293628a=789tqthas60j85rqf4iqhvq3vh;
path=/; secure; HttpOnly
Pragma: public
Cache-Control: must-revalidate, post-check=0, pre-check=0
Expires: 0
Content-Transfer-Encoding: binary
Content-Disposition: attachment; filename="proxmox-ve_7.0-2.iso";
modification-date="Fri, 03 Sep 2021 07:23:20 +0200"; size=1053097984;
Strict-Transport-Security: max-age=63072000
X-Content-Type-Options: nosniff
Length: 1053097984 (1004M) [application/x-cd-image]
Last-modified header missing -- time-stamps turned off.
--2021-09-19 10:46:33--
https://www.proxmox.com/en/downloads?task=callelement&format=raw&item_id=612&element=f85c494b-2b32-4109-b8c1-083cca2b7db6&method=download&args[0]=5c5c8789108e124c05c821fc7e848a5c
Reusing existing connection to [www.proxmox.com<http://www.proxmox.com>]:443.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Sun, 19 Sep 2021 08:46:33 GMT
Content-Type: application/x-cd-image
Content-Length: 1053097984
Connection: keep-alive
Pragma: public
Cache-Control: must-revalidate, post-check=0, pre-check=0
Expires: 0
Content-Transfer-Encoding: binary
Content-Disposition: attachment; filename="proxmox-ve_7.0-2.iso";
modification-date="Fri, 03 Sep 2021 07:23:20 +0200"; size=1053097984;
Strict-Transport-Security: max-age=63072000
X-Content-Type-Options: nosniff
Length: 1053097984 (1004M) [application/x-cd-image]
Saving to: ‘proxmox-ve_7.0-2.iso’
proxmox-ve_7.0-2.is<http://proxmox-ve_7.0-2.is> 3%[ ]
30.98M 2.22MB/s eta 7m 19s
CONFIDENTIALITY NOTICE: This communication may contain privileged and
confidential information, or may otherwise be protected from disclosure, and is
intended solely for use of the intended recipient(s). If you are not the
intended recipient of this communication, please notify the sender that you
have received this communication in error and delete and destroy all copies in
your possession.
--- End Message ---
_______________________________________________
pve-user mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user