Move request defaults to local.js