You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My test references a URL that turns out to be a 301 redirect. The code being tested uses file_get_contents and works fine outside of the test. When using PHP VCR, however, the fixture stored is just the 301 response. Is there some way to make it follow the redirect?
The text was updated successfully, but these errors were encountered:
Interestingly, it followed the redirect with that, but included the header information in the returned content. I'm going to try to look into this a little more and see if I can't figure out where the disconnect is happening. Or at least create a reproducible example.
My test references a URL that turns out to be a 301 redirect. The code being tested uses
file_get_contents
and works fine outside of the test. When using PHP VCR, however, the fixture stored is just the 301 response. Is there some way to make it follow the redirect?The text was updated successfully, but these errors were encountered: