Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
519e01c7
Commit
519e01c7
authored
May 06, 2014
by
webchick
Browse files
Issue
#2251829
by damiankloip: Add 'Guzzle' back to HTTP clients default user agent header.
parent
f2f0725d
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/Http/Client.php
View file @
519e01c7
...
...
@@ -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
.
'
(+http
s
://drupal.org/)
'
.
static
::
getDefaultUserAgent
()
,
),
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment