

We can download a file from a server using curl itself: Strict-transport-security: max-age=31536000 Referrer-policy: strict-origin-when-cross-originĬontent-security-policy: upgrade-insecure-requests base-uri 'self' object-src 'none' script-src report-uri frame-ancestors 'self' manifest-src 'self' Once installed the curl, you can use it as follows to see the headers for given domain:

It seems I am using curl version 7.74.0 on my Debian 11 “bullseye” system. Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftpįeatures: alt-svc AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets Processing triggers for man-db (2.7.6.1-2). Processing triggers for libc-bin (2.24-11+deb9u1). Selecting previously unselected package curl. 240584 files and directories currently installed.) Selecting previously unselected package libcurl3:amd64. The following NEW packages will be installed:Ġ upgraded, 2 newly installed, 0 to remove and 0 not upgraded.Īfter this operation, 989 kB of additional disk space will be used. The following additional packages will be installed:
