You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Check if there is a proxy header. If so, select last header section (from Maileon)
67
+
// Check if there is a proxy header section. If so, select last header section (from Maileon)
70
68
// Maybe it makes sense to return an array with one entry for each header section (proxies, then normal headers), each containing the entries of the apropriate header section.
71
69
// As this is not backwards compatible, skip for now.
@@ -92,8 +90,9 @@ private function getBodyFromCurlResponse($curlSession, $response)
92
90
{
93
91
// In a recent case, a CMS2 mailing contained \r\n\r\n, so the old approach failed (https://stackoverflow.com/questions/10589889/returning-header-as-array-using-curl).
94
92
// Now, we use CURLINFO_HEADER_SIZE (https://blog.devgenius.io/how-to-get-the-response-headers-with-curl-in-php-2173b10d4fc5) and only split up the headers at \r\n\r\n.
0 commit comments