Re: putObjectPolicy fails due to wrong Content-Type

2015-03-13 Thread Patrick F. Marques
or whether > the SDK is at fault. > > [1] > http://stackoverflow.com/questions/20508788/do-i-need-content-type-application-octet-stream-for-file-download > ᐧ > > *Matt Brender | Developer Advocacy Lead* > Basho Technologies > t: @mjbrender <https://twitter.com/mjbrender&

Re: putObjectPolicy fails due to wrong Content-Type

2015-03-13 Thread Patrick F. Marques
t; t: @mjbrender <https://twitter.com/mjbrender> > > > On Wed, Mar 11, 2015 at 2:32 PM, Patrick F. Marques < > patrickfmarq...@gmail.com> wrote: > >> Hi, >> >> Hi, I'm trying to use node-aws-sdk to set bucket policies but the SDK >> sends the

putObjectPolicy fails due to wrong Content-Type

2015-03-11 Thread Patrick F. Marques
Hi, Hi, I'm trying to use node-aws-sdk to set bucket policies but the SDK sends the request with the wrong Content-Type, "application/octet-stream". I'm not sure if there is something wrong on my side or if AWS S3 also supports this since it is its SDK. To find the problem I was digging in the SD

Re: Riak-CS Node.js client

2015-03-09 Thread Patrick F. Marques
Thanks! I'll stay tuned ;) till there I will patch my code an pray not to introduce any issues here.. The patch is bellow for anyone to try (just send the decoded string to be signed) >From a439f6126317a2b66fc08baf31b24b47e8ec4ed9 Mon Sep 17 00:00:00 2001 From: "Patrick F. Marques&qu

Re: Riak-CS Node.js client

2015-02-26 Thread Patrick F. Marques
ense says you're hitting this problem: > https://github.com/basho/riak_cs/issues/1063 > > Could you give me an example of code or debug print of Node.js client that > includes the source string before being signed by a secret key? > > Otherwise maybe that client is just using v4

Riak-CS Node.js client

2015-02-25 Thread Patrick F. Marques
Hi everyone, I'm trying to use AWS SDK as a S3 client for Riack CS to upload large objects that I usually don't know the its size, for that propose I'm trying to use the multipart upload like in the SDK example https://github.com/aws/aws-sdk-js/blob/master/doc-src/guide/node-examples.md#amazon-s3-