Omit the version number from headers and HTML responses (#543)

Omit the version number from headers, HTML responses, and templates
This commit is contained in:
James McKinney authored and GitHub committed 2024-06-20 10:51:29 +02:00
1 parent 72b93f6d4b
commit d652ed8538
9 files changed
+21 -27

No files matched your search

+1 -2
View File
@@ -26,9 +26,8 @@ use Pod::Usage;
my $EOL = "\015\012";
my $VERSION = "0.1";
my $NAME = "Tinyproxy-Web-Client";
my $user_agent = "$NAME/$VERSION";
my $user_agent = "$NAME";
my $user_agent_header = "User-Agent: $user_agent$EOL";
my $http_version = "1.0";
my $method = "GET";
+1 -2
View File
@@ -31,9 +31,8 @@ use Getopt::Long;
use Pod::Usage;
use Fcntl ':flock'; # import LOCK_* constants
my $VERSION = "0.1";
my $NAME = "Tinyproxy-Test-Web-Server";
my $server_header = "Server: $NAME/$VERSION";
my $server_header = "Server: $NAME";
my $EOL = "\015\012";