Permalink
Browse files

user-agent not needed in fetch.js

  • Loading branch information...
1 parent 0d56414 commit ab3d1ab091d739ed1b5a1459fb7baab4ef979f65 @jensbin committed Apr 4, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/utils/fetch.js
View
@@ -58,7 +58,6 @@ function makeRequest (remote, fstr, headers) {
request({ url: remote
, proxy: proxy
, strictSSL: npm.config.get("strict-ssl")
- , userAgent: npm.config.get("user-agent")
, ca: remote.host === regHost ? npm.config.get("ca") : undefined
, onResponse: onResponse }).pipe(fstr)
function onResponse (er, res) {

0 comments on commit ab3d1ab

Please sign in to comment.