Financial-Times / n-express

Slightly enhanced Express.
https://www.npmjs.com/package/@financial-times/n-express
8 stars 3 forks source link

Add the app name to the user agent string in isomorphic fetch #344

Closed adambraimbridge closed 8 months ago

adambraimbridge commented 8 years ago

Let's say an app built with n-express happens to be a little overzealous when fetching from some other API. Let's say we're asked by the API dev team to dial it down a bit. But they don't know which of our many apps is the culprit.

If the user agent string in their logs had the name of our app, then we'd be at least one step closer to making everybody happy.

wheresrhys commented 8 years ago

nice idea. Off the top of my head I can't think of anything to be careful of