Skip to content

Commit

Permalink
[BrowserKit] removed some headers when redirecting a request
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Aug 30, 2013
1 parent 96a4b00 commit 64e1655
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Symfony/Component/BrowserKit/Client.php
Expand Up @@ -423,6 +423,7 @@ public function followRedirect()
}

$server = $this->internalRequest->getServer();
unset($server['HTTP_IF_NONE_MATCH'], $server['HTTP_IF_MODIFIED_SINCE']);

return $this->request('get', $this->redirect, array(), array(), $server);
}
Expand Down

0 comments on commit 64e1655

Please sign in to comment.