From 2f24b8e382bcbb38f1fdc4b21498b3313a78c84c Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Fri, 25 Jul 2008 15:49:36 +0000 Subject: Use a method compatible with Erlang R11B to put the Erlang OTP version in the HTTP Server response header. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@679840 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_httpd.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl index af8d9b46..d0f3c756 100644 --- a/src/couchdb/couch_httpd.erl +++ b/src/couchdb/couch_httpd.erl @@ -1014,4 +1014,4 @@ negotiate_content_type(Req) -> server_header() -> [{"Server", "CouchDB/" ++ couch_server:get_version() ++ - " (Erlang OTP/" ++ erlang:system_info(otp_release) ++ ")"}]. + " (Erlang OTP/R" ++ erlang:system_info(compat_rel) ++ "B)"}]. -- cgit v1.2.3