diff options
author | Adam Kocoloski <kocolosk@apache.org> | 2010-03-05 15:27:40 +0000 |
---|---|---|
committer | Adam Kocoloski <kocolosk@apache.org> | 2010-03-05 15:27:40 +0000 |
commit | 52c9cec5c6715139cf06a99be9779e2f677bceae (patch) | |
tree | 7fba34dda8fa303a0a5c494af5c74fd58200a4e1 /src/couchdb/couch_httpd_external.erl | |
parent | bc80bcbf22a136d272c2a2dc2b4fdc1a046a2c32 (diff) |
use OTP base64 lib. Patch by Filipe Manana. Closes COUCHDB-681
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@919449 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd_external.erl')
-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 efbe87b8..fb099350 100644 --- a/src/couchdb/couch_httpd_external.erl +++ b/src/couchdb/couch_httpd_external.erl @@ -124,7 +124,7 @@ parse_external_response({Response}) -> Args#extern_resp_args{data=Value, ctype="text/html; charset=utf-8"}; {<<"base64">>, Value} -> Args#extern_resp_args{ - data=couch_util:decodeBase64(Value), + data=base64:decode(Value), ctype="application/binary" }; {<<"headers">>, {Headers}} -> |