Skip to content

Conversation

Scyks
Copy link

@Scyks Scyks commented Jul 21, 2014

when a request (eg "/" redirects using a Location: header /de/), an exception occurs because $uri is an header-object and is used as array ($uri[0]). this patch extracts the location uri from the header and continues with the location url.
The patch does not solve redirects that expect other headers to be resend (eg auth/post)

Scyks added 2 commits July 21, 2014 18:51
when a request (eg "/" redirects using a Location: header, a exception occurs because $uri is a header-object and is used as array ($uri[0]). this patch extracts the location uri from the header
@fabpot
Copy link
Member

fabpot commented Jul 23, 2014

BrowserKit is totally unrelated to Guzzle, so I don't see why we should add something specific to Guzzle here. If you are using fabpot/Goutte, the issue is probably there instead.

@fabpot fabpot closed this Jul 23, 2014
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