Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

merged branch sasezaki/BrowserKit_useragent (PR #1789)

Commits
-------

266e60e Don't tell a lie to every WebServers

Discussion
----------

Please don't tell a lie to every WebServers

Fake Useragent name should be only in test case .
  • Loading branch information...
commit fd0cb960f526238bad7dc28fee24ba91d6858e06 2 parents 21663cc + 395a37f
@fabpot fabpot authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Client.php
View
2  Client.php
@@ -104,7 +104,7 @@ public function setServerParameters(array $server)
{
$this->server = array_merge(array(
'HTTP_HOST' => 'localhost',
- 'HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3',
+ 'HTTP_USER_AGENT' => 'Symfony2 BrowserKit',
), $server);
}
Please sign in to comment.
Something went wrong with that request. Please try again.