Przeglądaj źródła

fix content type

tags/1.1
0nepeop1e 4 lat temu
rodzic
commit
e699731b0e
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3
    0
      src/MirfalahTransport.php

+ 3
- 0
src/MirfalahTransport.php Wyświetl plik

@@ -79,6 +79,9 @@ class MirfalahTransport implements Swift_Transport
79 79
                 'apiKey' => $this->apiKey,
80 80
                 'signature' => hash_hmac('sha1', $body, $this->secret),
81 81
             ],
82
+            RequestOptions::HEADERS => [
83
+                'Content-Type' => 'text/plain; charset=utf-8',
84
+            ],
82 85
             RequestOptions::BODY => $body,
83 86
         ]);
84 87
     }

Ładowanie…
Anuluj
Zapisz