incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: POST/PUTing binary Attachments to external Handler
Date Mon, 09 Nov 2009 23:13:07 GMT
On Mon, Nov 9, 2009 at 12:15 PM, Lennart Melzer <l.melzer@tu-bs.de> wrote:
> I am running Revision 832477 of the couchdb trunk
> On Nov 9, 2009, at 6:09 PM, Paul Davis wrote:
>
>> On Mon, Nov 9, 2009 at 11:54 AM, Lennart Melzer <l.melzer@tu-bs.de> wrote:
>>>
>>> Right now, posting or putting binary data to an external handler fails,
>>> since the data is parsed as a UTF-8 String and not treated as binary. The
>>> external handler never gets to do its work, so this might be an issue
>>> with
>>> the handling of data sent to an external handler. Am I misusing the
>>> external-handler interface?
>>>
>>> Error snippet:
>>> [error] [<0.95.0>] {error_report,<0.30.0>,
>>>   {<0.95.0>,std_error,
>>>    {mochiweb_socket_server,235,
>>>        {child_error,{ucs,{bad_utf8_character_code}}}}}}
>>>
>>> Greetings,
>>>
>>> Lennart
>>>
>>
>> Lennart,
>>
>> What version of CouchDB are you on? I seem to remember a patch for
>> this going into trunk at some point. Not sure if that was pre/post
>> 0.10 though.
>>
>> Paul Davis
>
>

Lennart,

Hmm, looking through the svn log I'm not seeing a commit that mentions
body or posts. I swear I remember something like that coming through
at one point. Benoit, didn't you have something to do with that?

Paul Davis

Mime
View raw message