for (Map.Entry<String, String> header : headers.entrySet()) {
builder.add(new HTTPHeader(header.getKey(), header.getValue()));
}
}
RawGcsService rawGcsService;
Value location = SystemProperty.environment.value();
if (location == SystemProperty.Environment.Value.Production) {
rawGcsService = OauthRawGcsServiceFactory.createOauthRawGcsService(builder.build());
} else if (location == SystemProperty.Environment.Value.Development) {
rawGcsService = LocalRawGcsServiceFactory.createLocalRawGcsService();
} else {