8000 [Mailer] Use HTTP/1.1 for Mailgun · symfony/symfony@7c84f9c · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c84f9c

Browse files
[Mailer] Use HTTP/1.1 for Mailgun
1 parent cc61633 commit 7c84f9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/Mailer/Bridge/Mailgun/Transport/MailgunHttpTransport.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ protected function doSendHttp(SentMessage $message): ResponseInterface
6363

6464
$endpoint = sprintf('%s/v3/%s/messages.mime', $this->getEndpoint(), urlencode($this->domain));
6565
$response = $this->client->request('POST', 'https://'.$endpoint, [
66+
'http_version' => '1.1',
6667
'auth_basic' => 'api:'.$this->key,
6768
'headers' => $headers,
6869
'body' => $body->bodyToIterable(),

0 commit comments

Comments
 (0)
0