Thanks for fix. In this thread
https://forum.cs-car...m/?fromsearch=1
I have pointed that I am getting 302 on
on HTTP/2.0
"GET /index.php?dispatch=payment_notification.notify&payment=paypal_express&order_id=XXXX&token=EC-XXXXXXXXXXXXXXX&PayerID=XXXXXXXXXX HTTP/2.0" 302
Note that E.Qi.Librium is using 4.3.9 Flow.
There are several differences in the file but it appears this is what CSC added to E.Qi.Librium's file /app/Tygh/http.php:
Find
/** * Parse response contents to split headers * @param string $content response contents * @return string contents without headers */ private static function _parseContent($content) { while (strpos(ltrim($content), 'HTTP/1') === 0) { list(self::$_headers, $content) = preg_split("/(\r?\n){2}/", $content, 2); } return $content; }Replace:
/** * Parse response contents to split headers * @param string $content response contents * @return string contents without headers */ private static function _parseContent($content) { while (strpos(ltrim($content), 'HTTP/1') === 0) { list(self::$_headers, $content) = preg_split("/(\r?\n){2}/", $content, 2); } while (strpos(ltrim($content), 'HTTP/2') === 0) { list(self::$_headers, $content) = preg_split("/(\r?\n){2}/", $content, 2); } return $content; }