local-ch / lhc

🚀 Advanced HTTP Client for Ruby. Fueled with interceptors.
GNU General Public License v3.0
43 stars 1 forks source link

Proper User-Agent header #137

Closed 10xSebastian closed 5 years ago

10xSebastian commented 5 years ago

MAJOR

Finally... long overdue...

LHC now identifies itself towards other services, using the User-Agent header.

Request Agent

LHC identifies itself towards outher services, using the User-Agent header.

User-Agent LHC (9.4.2) [https://github.com/local-ch/lhc]

If LHC is used in an Rails Application context, also the application name is added to the User-Agent header.

User-Agent LHC (9.4.2; MyRailsApplicationName) [https://github.com/local-ch/lhc]
ryabrody commented 5 years ago

Will backend now see in their monitoring system from which app the request came?

10xSebastian commented 5 years ago

@ryabrody yes