fixed content type, added s3 signed url support