Commit 519e01c7 authored by webchick's avatar webchick

Issue #2251829 by damiankloip: Add 'Guzzle' back to HTTP clients default user agent header.

parent f2f0725d
......@@ -31,7 +31,7 @@ public function __construct(array $config = []) {
'verify' => TRUE,
'timeout' => 30,
'headers' => array(
'User-Agent' => 'Drupal (+http://drupal.org/)',
'User-Agent' => 'Drupal/' . \Drupal::VERSION . ' (+https://drupal.org/) ' . static::getDefaultUserAgent(),
),
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment