Skip to content

Commit fe770cb

Browse files
author
Matt Bernier
authored
Merge branch 'master' into update-readme
2 parents d470e52 + 8f29057 commit fe770cb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22

33
[![Travis Badge](https://travis-ci.org/sendgrid/php-http-client.svg?branch=master)](https://travis-ci.org/sendgrid/php-http-client)
44
[![Latest Version on Packagist](https://img.shields.io/packagist/v/sendgrid/php-http-client.svg?style=flat-square)](https://packagist.org/packages/sendgrid/php-http-client)
5-
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.txt)
5+
[![BuildStatus](https://travis-ci.org/sendgrid/php-http-client.svg?branch=master)](https://travis-ci.org/sendgrid/php-http-client)
6+
[![Email Notifications Badge](https://dx.sendgrid.com/badge/php)](https://dx.sendgrid.com/newsletter/php)
67
[![Twitter Follow](https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow)](https://twitter.com/sendgrid)
78
[![GitHub contributors](https://img.shields.io/github/contributors/sendgrid/php-http-client.svg)](https://github.com/sendgrid/php-http-client/graphs/contributors)
9+
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.txt)
810

911
**Quickly and easily access any RESTful or RESTful-like API.**
1012

@@ -165,5 +167,6 @@ php-http-client is guided and supported by the SendGrid [Developer Experience Te
165167

166168
php-http-client is maintained and funded by SendGrid, Inc. The names and logos for php-http-client are trademarks of SendGrid, Inc.
167169

170+
<a name="license"></a>
168171
# License
169-
[The MIT License (MIT)](LICENSE.txt)
172+
[The MIT License (MIT)](LICENSE.txt)

lib/Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ public function makeRequest($method, $url, $body = null, $headers = null, $retry
152152
CURLOPT_HEADER => 1,
153153
CURLOPT_CUSTOMREQUEST => strtoupper($method),
154154
CURLOPT_SSL_VERIFYPEER => false,
155+
CURLOPT_FAILONERROR => false,
155156
] + $this->curlOptions);
156157

157158
if (isset($headers)) {

0 commit comments

Comments
 (0)