Luwak and PNG Files
sean at basho.com
Tue Feb 22 17:32:09 EST 2011
Sorry for the curt reply earlier. It seems this may also be gzip issue combined with chunked-encoding. https://issues.basho.com/show_bug.cgi?id=936 In the meantime, try adding the header -H "Accept-Encoding: identity".
Sean Cribbs <sean at basho.com>
Basho Technologies, Inc.
On Feb 22, 2011, at 5:08 PM, Joe Osowski wrote:
> This command:
> 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