deb-s3 icon indicating copy to clipboard operation
deb-s3 copied to clipboard

fix Content-Type to same type as official repository

Open mtanda opened this issue 7 years ago • 2 comments

I think the Content-Type should be same as official repository. https://gist.github.com/mtanda/5d02c0b2b6a8f8abfd2bfe1ec519641d

The motivation to fix Content-Type is, I want to access S3 hosted repository from API Gateway. https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-s3.html

I'm not sure why charset=binary is set, but it cause error when I access S3 via API Gateway. The error message is Charset is invalid or illegal. When I remove charset=binary from Content-Type, I can access S3 repository.

mtanda avatar Jul 17 '18 09:07 mtanda

@krobertson I'm terribly sorry to bother you, would you check this?

mtanda avatar Jul 18 '18 11:07 mtanda

I am having this issue too. Cant seem to get around it.

brandonryan avatar Feb 02 '22 18:02 brandonryan