summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2008-07-25 15:49:36 +0000
committerChristopher Lenz <cmlenz@apache.org>2008-07-25 15:49:36 +0000
commit2f24b8e382bcbb38f1fdc4b21498b3313a78c84c (patch)
treeccdd0ad14d8c42bc5acd5a6e608807501e9ebd49
parent81aeef078b488ca841424b49a0e94e2ab586ee74 (diff)
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
-rw-r--r--src/couchdb/couch_httpd.erl2
1 files changed, 1 insertions, 1 deletions
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)"}].