Luwak and PNG Files
joe.osowski at gmail.com
Tue Feb 22 17:08:46 EST 2011
curl --data-binary @g005.PNG_L -H "Content-Type: image/png"
Exhibits the same behaviour.
On Tue, Feb 22, 2011 at 1:59 PM, Sean Cribbs <sean at basho.com> wrote:
> Use --data-binary instead of --data.
> Sean Cribbs <sean at basho.com>
> Developer Advocate
> Basho Technologies, Inc.
> On Feb 22, 2011, at 4:57 PM, Joe Osowski wrote:
>> I'm experimenting with using riak/luwak as a store for many small
>> files. Of course... a few of these files are on the large size so I'm
>> exploring Luwak. I'm seeing some strange behaviour though and I
>> wonder what I'm doing wrong.
>> I'm using this command:
>> curl -i -X PUT -T g005.PNG_L -H "Content-Type: image/png"
>> It appears to work fine. But when I fetch the image I get something
>> back a little larger. (2513986 bytes, originally 2513954 bytes)
>> Also when I attempt to view the image in the browser, only about half
>> of it renders. I wonder if my CURL statement is encoding something
>> You must be the change you want to see in the world - Mahatma Gandhi
>> riak-users mailing list
>> riak-users at lists.basho.com
You must be the change you want to see in the world - Mahatma Gandhi
More information about the riak-users