Permalink
Browse files

Add platform and arch to the default user-agent

  • Loading branch information...
1 parent da676dc commit e8f5aae81579ddeba00d110f32c810fdada9899f @jhs jhs committed with isaacs Jan 18, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -37,7 +37,7 @@ also be accepted.
* `strict-ssl` {Boolean} Whether or not to be strict with SSL
certificates. Default = `true`
* `user-agent` {String} User agent header to send. Default =
- `"node/{process.version}"`
+ `"node/{process.version} {process.platform} {process.arch}"`
* `log` {Object} The logger to use. Defaults to `require("npmlog")` if
that works, otherwise logs are disabled.
* `fetch-retries` {Number} Number of times to retry on GET failures.

0 comments on commit e8f5aae

Please sign in to comment.