Skip to content

Commit

Permalink
merged branch sasezaki/BrowserKit_useragent (PR #1789)
Browse files Browse the repository at this point in the history
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
fabpot committed Jul 26, 2011
2 parents 21663cc + 395a37f commit fd0cb96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client.php
Expand Up @@ -104,7 +104,7 @@ public function setServerParameters(array $server)
{ {
$this->server = array_merge(array( $this->server = array_merge(array(
'HTTP_HOST' => 'localhost', '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); ), $server);
} }


Expand Down

0 comments on commit fd0cb96

Please sign in to comment.