What version of CouchDB? I can't find any version that tries to call the non-existent base64:decode/2 function.
B. On 14 October 2012 03:08, Samuel Williams <[email protected]> wrote: > 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
