huaweicloud-sdk-php-obs icon indicating copy to clipboard operation
huaweicloud-sdk-php-obs copied to clipboard

Results 25 huaweicloud-sdk-php-obs issues
Sort by recently updated
recently updated
newest added
trafficstars

![QQ20201013-195144](https://user-images.githubusercontent.com/9739052/95857021-8a7e1280-0d8d-11eb-9c04-c13a68f19421.png)

Exception message: #exceptionType: "client" #exceptionCode: "InvalidArgument" #exceptionMessage: "The x-amz-copy-source-range value must be of the form bytes=first-last where first and last are the zero-based offsets of the first and last bytes...

https://github.com/huaweicloud/huaweicloud-sdk-php-obs/issues/41 - 允许外部定制 Guzzle Client,以支持本包在一些特定的要求,如协程环境的框架中用到无阻塞的特性等等。 - 移除了一些 close() 方法,经测试这些方法完全可以使用 __destruct() 析构函数来完成。 - php 8.1 兼容性调整。

![image](https://github.com/huaweicloud/huaweicloud-sdk-php-obs/assets/46362400/66b274ba-2abe-45d1-9b08-cba5f651d991)

ObsClient.php 里,又是 chooseHandler, 又是 createHttpClient 但实际上这两个方法,调用方并不能参与进去做一些深度的定制,建议将 Guzzlle Client 实例作为一个可选参数传入。 主要是以下几个原因: - 可以深度定制 guzzle,比如为 Guzzle 指定了某些中间件用于记录请求,或者请求速度分析等等。 - 可以替换 guzzle 底层的实例,比如 handler 切换到 Hyperf 框架的 Hyperf\Guzzle\CoroutineHandler 或者适配 Amphp 的 \AmpGuzzle\HttpClientHandler,这样可以让 ObsClient 在这类协程客户端中利用上协程的并发无阻塞特性。...

Updated composer.json to support Laravel 10.

Hello, I am currently using the huaweicloud-sdk-php-obs SDK in a PHP 7.4+ environment and encountered a deprecation warning when using the CheckoutStream class. The exact warning is: PHP Deprecated: Creation...

getting error when uploading file with OBS SDK on Laravel v10.28.0 (PHP v8.2.13) ERROR: Declaration of Obs\Internal\Common\CheckoutStream::read($length) must be compatible with Psr\Http\Message\StreamInterface::read(int $length) libraries\\Obs\\Internal\\Common\\CheckoutStream.php:46) local.ERROR: Declaration of Obs\Internal\Common\CheckoutStream::getContents() must be...

使用临时凭证security-token连接的客户端,签名方式使用obs的时候,通过createSignedUrl获取的签名下载地址,会提示SignatureDoesNotMatch,签名验证失败。是因为x-obs-security-token并没有参与签名计算。