This command: curl --data-binary @g005.PNG_L -H "Content-Type: image/png" http://sfdev02:8098/luwak/g005.PNG_L
Exhibits the same behaviour. On Tue, Feb 22, 2011 at 1:59 PM, Sean Cribbs <s...@basho.com> wrote: > Joe, > > Use --data-binary instead of --data. > > Sean Cribbs <s...@basho.com> > Developer Advocate > Basho Technologies, Inc. > http://basho.com/ > > 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" >> http://sfdev02:8098/luwak/g005.PNG_L >> >> 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 >> wrong? >> >> -Joe >> >> -- >> You must be the change you want to see in the world - Mahatma Gandhi >> >> _______________________________________________ >> riak-users mailing list >> riak-users@lists.basho.com >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > > -- You must be the change you want to see in the world - Mahatma Gandhi _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com