Joe, 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 <[email protected]> Developer Advocate Basho Technologies, Inc. http://basho.com/ On Feb 22, 2011, at 5:08 PM, Joe Osowski wrote: > 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 <[email protected]> wrote: >> Joe, >> >> Use --data-binary instead of --data. >> >> Sean Cribbs <[email protected]> >> 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 >>> [email protected] >>> 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 [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
