Hi,

I don't know much about erlang but there appears to be a bug in the inline
attachments functionality:

http://pastie.org/5055155

I just try to upload the following doc:

document = {
"_attachments" => {
"foo.txt" => {
"content_type" => "text\/plain",
"data" => "Hello World"
}
}
}

data gets encoded using base64.

>From the erlang shell:

27> base64:decode(<<"SGVsbG8gV29ybGQ=">>, []).
** exception error: undefined function base64:decode/2

Kind regards,
Samuel

Reply via email to