diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2011-04-14 13:57:21 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2011-04-14 13:57:21 +0000 |
commit | 724a2abb9600b2d6c5bab84ff8167fa5626b4857 (patch) | |
tree | 91c2322bc5ce9a00081c9cf3d61fe8999271fa64 | |
parent | 3d5635311b24118470e09650508d7041234e41e4 (diff) |
Merged revision 1092247 from trunk
Include OTP minor release information in the Server header
This is mostly to help diagnose issues that might be related
to specific OTP releases.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1092251 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/couchdb/couch_httpd.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl index 47d2edb7..5774ed05 100644 --- a/src/couchdb/couch_httpd.erl +++ b/src/couchdb/couch_httpd.erl @@ -846,9 +846,8 @@ negotiate_content_type(#httpd{mochi_req=MochiReq}) -> end. server_header() -> - OTPVersion = "R" ++ integer_to_list(erlang:system_info(compat_rel)) ++ "B", [{"Server", "CouchDB/" ++ couch_server:get_version() ++ - " (Erlang OTP/" ++ OTPVersion ++ ")"}]. + " (Erlang OTP/" ++ erlang:system_info(otp_release) ++ ")"}]. -record(mp, {boundary, buffer, data_fun, callback}). |