summaryrefslogtreecommitdiff
path: root/src/chttpd_external.erl
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-07-09 21:32:40 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-12 11:18:48 -0400
commitff2c290a40754cb9aa87dbba0bdbb633e1fc4295 (patch)
treeab1847e40d8ca35fc1d4d432fd812430c8f61169 /src/chttpd_external.erl
parentf8f690c293a52b961e232a36819777a7105abb92 (diff)
use base64 library instead of old couch_util impl
Diffstat (limited to 'src/chttpd_external.erl')
-rw-r--r--src/chttpd_external.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd_external.erl b/src/chttpd_external.erl
index 0b6b775d..3aff3291 100644
--- a/src/chttpd_external.erl
+++ b/src/chttpd_external.erl
@@ -146,7 +146,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}} ->