From b32434d61ed96ec19cf10823a12776197f3cf259 Mon Sep 17 00:00:00 2001 From: isliang Date: Wed, 28 Aug 2019 21:48:04 +0800 Subject: [PATCH 1/2] fix bug when set lease, no need base64 encode --- src/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index a969a23..6dc78b9 100644 --- a/src/Client.php +++ b/src/Client.php @@ -132,7 +132,7 @@ public function put($key, $value, array $options = []) ]; $params = $this->encode($params); - $options = $this->encode($options); +// $options = $this->encode($options); $body = $this->request(self::URI_PUT, $params, $options); $body = $this->decodeBodyForFields( $body, From ecf9ed49c865989754fa3460ed1901d509798325 Mon Sep 17 00:00:00 2001 From: isliang Date: Wed, 28 Aug 2019 21:58:07 +0800 Subject: [PATCH 2/2] remove code --- src/Client.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index 6dc78b9..82163c4 100644 --- a/src/Client.php +++ b/src/Client.php @@ -132,7 +132,6 @@ public function put($key, $value, array $options = []) ]; $params = $this->encode($params); -// $options = $this->encode($options); $body = $this->request(self::URI_PUT, $params, $options); $body = $this->decodeBodyForFields( $body,