Skip to content

Commit d4b3e8b

Browse files
committed
Update CurlRequest.php
1 parent 637386d commit d4b3e8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/CurlRequest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public function prepareSend(): CurlRequest
5656

5757
// добавляем данные запроса
5858
if ('GET' !== $method) {
59-
$type = $this->getHeader('Content-Type');
60-
if (false !== strpos($type, 'application/json')) {
61-
$this->withBodyJson($this->getBody());
62-
}
59+
// $type = $this->getHeader('Content-Type');
60+
// if (false !== strpos($type, 'application/json')) {
61+
// $this->withBodyJson($this->getBody());
62+
// }
6363
$body = $this->getBody();
6464

6565
if ('POST' === $method) curl_setopt($ch, CURLOPT_POST, 1);

0 commit comments

Comments
 (0)