Skip to content

Commit a409774

Browse files
jimuldpmclain
andauthored
Update lib/internal/Magento/Framework/HTTP/Adapter/Curl.php
Co-Authored-By: Patrick McLain <pat@pmclain.com>
1 parent da34cbe commit a409774

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/HTTP/Adapter

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/HTTP/Adapter/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public function write($method, $url, $http_ver = '1.1', $headers = [], $body = '
177177
curl_setopt($this->_getResource(), CURLOPT_HTTPGET, true);
178178
curl_setopt($this->_getResource(), CURLOPT_CUSTOMREQUEST, 'GET');
179179
} elseif ($method == \Zend_Http_Client::DELETE) {
180-
curl_setopt($this->_getResource(), CURLOPT_CUSTOMREQUEST, "DELETE");
180+
curl_setopt($this->_getResource(), CURLOPT_CUSTOMREQUEST, 'DELETE');
181181
curl_setopt($this->_getResource(), CURLOPT_POSTFIELDS, $body);
182182
}
183183

0 commit comments

Comments
 (0)