diff options
author | John Christopher Anderson <jchris@apache.org> | 2009-07-04 16:19:23 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2009-07-04 16:19:23 +0000 |
commit | 887955a951470a9dc211c6e404905292f1a39585 (patch) | |
tree | 2b9c8730672938316cba1c525438dba86a04f398 /src/couchdb | |
parent | f6fd760c17cb5d5d49211be4b4ff92e797e83157 (diff) |
send utf-8 hearders with list and show responses. closes COUCHDB-392
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791145 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb')
-rw-r--r-- | src/couchdb/couch_httpd_external.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_httpd_external.erl b/src/couchdb/couch_httpd_external.erl index 82a5542b..949bd83a 100644 --- a/src/couchdb/couch_httpd_external.erl +++ b/src/couchdb/couch_httpd_external.erl @@ -117,7 +117,7 @@ parse_external_response({Response}) -> data=?JSON_ENCODE(Value), ctype="application/json"}; {<<"body">>, Value} -> - Args#extern_resp_args{data=Value, ctype="text/html"}; + Args#extern_resp_args{data=Value, ctype="text/html; charset=utf-8"}; {<<"base64">>, Value} -> Args#extern_resp_args{ data=couch_util:decodeBase64(Value), |