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:
1 parent
72b93f6d4b
commit
d652ed8538
9 files changed
+21
-27
No files matched your search
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in new issue
Block a user