Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
user-agent header gets overwritten #4576
Only by changing to User-Agentt header appears inside printed by php headers list.
PHP received headers inside acceptance test:
This is not working:
referenced this issue
Oct 22, 2017
The root cause was the long chain of libraries: PhpBrowser -> BrowserKit -> Guzzle -> curl.
I fixed the issue by making PhpBrowser to keep headers to itself, this way the headers traverse the whole chain and nothing overrides them.