Add encoding option to request calls