Skip to content

Commit 387d6d3

Browse files
committed
force HTTP 1.1 for Mailgun API requests
1 parent ec326c4 commit 387d6d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Transport/MailgunApiTransport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ protected function doSendApi(SentMessage $sentMessage, Email $email, Envelope $e
6161

6262
$endpoint = sprintf('%s/v3/%s/messages', $this->getEndpoint(), urlencode($this->domain));
6363
$response = $this->client->request('POST', 'https://'.$endpoint, [
64+
'http_version' => '1.1',
6465
'auth_basic' => 'api:'.$this->key,
6566
'headers' => $headers,
6667
'body' => $body->bodyToIterable(),

0 commit comments

Comments
 (0)