From 33b7dfe1eb1914aa1f192e05b44892c6e9ffc537 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Mon, 15 Jun 2009 09:49:46 +0000 Subject: Send CouchDB Server: header for all external queries. Fixes COUCHDB-379. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@784706 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_httpd_external.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/couchdb/couch_httpd_external.erl') diff --git a/src/couchdb/couch_httpd_external.erl b/src/couchdb/couch_httpd_external.erl index 836efbd6..82a5542b 100644 --- a/src/couchdb/couch_httpd_external.erl +++ b/src/couchdb/couch_httpd_external.erl @@ -100,7 +100,7 @@ send_external_response(#httpd{mochi_req=MochiReq}, Response) -> headers = Headers } = parse_external_response(Response), Resp = MochiReq:respond({Code, - default_or_content_type(CType, Headers), Data}), + default_or_content_type(CType, Headers ++ couch_httpd:server_header()), Data}), {ok, Resp}. parse_external_response({Response}) -> -- cgit v1.2.3