Skip to content

Send useragent by default

Pre-release
Pre-release
Compare
Choose a tag to compare
@g105b g105b released this 20 Feb 10:35
· 99 commits to master since this release

While using this library in real world tests, it seems that a lot of APIs (Github's for example) require a useragent header to be sent with a request.

It's possible to set your own headers, but this shouldn't be a required step, as just using curl on the commandline or from PHP automatically sets their default useragent, so now this library does too.