Commit 519e01c7 authored by webchick's avatar webchick
Browse files

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 = []) { ...@@ -31,7 +31,7 @@ public function __construct(array $config = []) {
'verify' => TRUE, 'verify' => TRUE,
'timeout' => 30, 'timeout' => 30,
'headers' => array( 'headers' => array(
'User-Agent' => 'Drupal (+http://drupal.org/)', 'User-Agent' => 'Drupal/' . \Drupal::VERSION . ' (+https://drupal.org/) ' . static::getDefaultUserAgent(),
), ),
); );
......
Supports Markdown
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