Skip to content
Snippets Groups Projects

fix: patch for issue 3463730 - strip HTTP/ from version

1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
@@ -285,6 +285,12 @@ abstract class HttpApiPluginBase extends PluginBase implements ContainerFactoryP
* {@inheritdoc}
*/
public function preprocessOutgoingRequestOptions(array $options): array {
if (
isset($options['version']) &&
substr($options['version'], 0, 5) == 'HTTP/'
) {
$options['version'] = substr($options['version'], 5);
}
return $options;
}
Loading