Skip to content

Conversation

Sgoettschkes
Copy link
Contributor

As said in issue #1254, the client does not follow redirects automatically. I changed the text to point out this behaviour and show a way to both follow one redirect at a time and to follow all redirects.

weaverryan added a commit that referenced this pull request Apr 21, 2012
Fixing description of default behaviour of testclient on redirects, see #1254
@weaverryan weaverryan merged commit dcc57b1 into symfony:2.0 Apr 21, 2012
@weaverryan
Copy link
Member

Hi Sebastian!

Wow, good detective work (details in #1254)! You're right that the while the BrowserKit follows redirects by default, the sub-classes in HttpKernel (which is what's used by the framework) does not.

I've merged this in - thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants