putObjectPolicy fails due to wrong Content-Type

Matthew Brender mbrender at basho.com
Fri Mar 13 10:41:32 EDT 2015


Hi Patrick,

I'm glad you figured out the root cause here. You bring up a great
opportunity to improve on error responses too. Please open a GitHub issue
for this and any similar observations so PM can keep track of it.

Thanks,
Matt

ᐧ

*Matt Brender | Developer Advocacy Lead*
Basho Technologies
t: @mjbrender <https://twitter.com/mjbrender>


On Wed, Mar 11, 2015 at 2:32 PM, Patrick F. Marques <
patrickfmarques at gmail.com> wrote:

> 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 SDK code because the server
> response is just a 500 Internal Server Error. It could be nice to return at
> least something like "Unaccepted Content-Type in request".
>
> Regards,
> Patrick Marques
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20150313/54e96ae5/attachment-0002.html>


More information about the riak-users mailing list