google-auth-library-nodejs icon indicating copy to clipboard operation
google-auth-library-nodejs copied to clipboard

User Agent header grows unboundedly

Open matthewloring opened this issue 10 years ago • 0 comments

Every call made using this module appears to add another "google-api-nodejs-client/0.9.7" to the User-Agent header. This causes the header to grow in size unbounded.

Example: http://pastebin.com/dHFGRkB8

Culprit: https://github.com/google/google-auth-library-nodejs/blob/master/lib/transporters.js#L42

matthewloring avatar May 03 '16 17:05 matthewloring