diff --git a/core/httpd.js b/core/httpd.js index 8e1e42cc..49339deb 100644 --- a/core/httpd.js +++ b/core/httpd.js @@ -120,6 +120,7 @@ function Response(request, client) { let requestVersion = request.version.split("/")[1].split("."); let responseVersion = (requestVersion[0] >= 1 && requestVersion[0] >= 1) ? "1.1" : "1.0"; let headerString = "HTTP/" + responseVersion + " " + status + " " + reason + "\r\n"; + headers['Server'] = `Tilde Friends/${version().number}`; for (let i in headers) { headerString += i + ": " + headers[i] + "\r\n"; lowerHeaders[i.toLowerCase()] = headers[i];