How do I resolve "HttpVersionNotSupported" in S3 when I am using a large file to upload?

When I was trying to store a large file, I got this / wrror warning.

Message: S3 :: putObject (): [HttpVersionNotSupported] The specified HTTP version is not supported.


source to share

1 answer

I faced the same issue in Codeigniter S3, the problem was sending the file name parameter to $this->s3->putObjectFile($fileTempName, "examplebucketname", $fileName, S3::ACL_PUBLIC_READ)

, if there are spaces in the target file name then this happens.



All Articles