Skip to content

Conversation

@Naktibalda
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

@fabpot
Copy link
Member

fabpot commented Sep 6, 2015

What is your use case?

@Naktibalda
Copy link
Contributor Author

Codeception/Codeception#2329

I want to intercept the redirect, do some actions and then follow the redirect.
My problem is that the instance of BrowserKit Client is public and following redirects can be disabled or limited by 3rd party code and I need to know that.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this a boolean value it should be something like is[...]().
Eg: isRedirectFollowed()

@Naktibalda Naktibalda changed the title [BrowserKit] Added getFollowRedirects and getMaxRedirects methods [BrowserKit] Added isFollowingRedirects and getMaxRedirects methods Sep 12, 2015
@fabpot
Copy link
Member

fabpot commented Sep 26, 2015

Thank you @Naktibalda.

@fabpot fabpot closed this in 4a98f28 Sep 26, 2015
@fabpot fabpot mentioned this pull request Nov 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants