Add the ability to add an User Agent to requests
jimmyz opened this issue · 2 comments
jimmyz commented
The RS clients should allow you to configure an agent string. This should work according to the HTTP 1.1 spec: http://tools.ietf.org/html/rfc7231#section-5.5.3
If nothing is set, it should set an agent string like this:
gedcomx-php/1.0.1 Guzzle/3.0.7 curl/7.19.7 PHP/5.5.21
The application should set the agent:
AppName/0.0.0 gedcomx-php/1.0.1 Guzzle/3.0.7 curl/7.19.7 PHP/5.5.21
Thoughts?
justincy commented
Any thoughts on a programmatic method for keeping the gedcomx-php version number synced properly?
jimmyz commented
Perhaps we need a version file of some sort that gets loaded in the config and then there could be a script task set to bump the version (set the version file, commit it and tag the release).