nlf / git-gh

github extensions for git
17 stars 2 forks source link

adding User-Agent to requests, fixes #20 #21

Closed weisjohn closed 11 years ago

weisjohn commented 11 years ago

I don't know if you have issues with this, but it seemed reasonable enough to me simply use the User-Agent from Chrome 26.

Thanks for making this.

nlf commented 11 years ago

I don't know how I feel about this.. It may be more appropriate to use the User-Agent from curl instead, since the project is based around libcurl. Seems safer. If you want to update that, I'll merge the pull request right away. Thanks for the patch!

nlf commented 11 years ago

Closing this to fix with our own custom user agent instead of stealing Chrome's