You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by cm...@apache.org on 2008/07/25 17:49:37 UTC

svn commit: r679840 - /incubator/couchdb/trunk/src/couchdb/couch_httpd.erl

Author: cmlenz
Date: Fri Jul 25 08:49:36 2008
New Revision: 679840

URL: http://svn.apache.org/viewvc?rev=679840&view=rev
Log:
Use a method compatible with Erlang R11B to put the Erlang OTP version in the HTTP Server response header.

Modified:
    incubator/couchdb/trunk/src/couchdb/couch_httpd.erl

Modified: incubator/couchdb/trunk/src/couchdb/couch_httpd.erl
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/src/couchdb/couch_httpd.erl?rev=679840&r1=679839&r2=679840&view=diff
==============================================================================
--- incubator/couchdb/trunk/src/couchdb/couch_httpd.erl (original)
+++ incubator/couchdb/trunk/src/couchdb/couch_httpd.erl Fri Jul 25 08:49:36 2008
@@ -1014,4 +1014,4 @@
 
 server_header() ->
     [{"Server", "CouchDB/" ++ couch_server:get_version() ++
-                " (Erlang OTP/" ++ erlang:system_info(otp_release) ++ ")"}].
+                " (Erlang OTP/R" ++ erlang:system_info(compat_rel) ++ "B)"}].