livelycode/aws-lib — Issue #39: Setting "region" does not work
Author: Prinzhorn
Created: 2012-02-26 20:07:23+00:00
State: open

I'm setting the "region" option to "DE" like this

```js
var amz = aws.createProdAdvClient(/*...*/);

amz.call('ItemLookup', {ItemId: 'foobar', host: 'ecs.amazonaws.de', region: 'DE'}, function(result) {
console.log(JSON.stringify(result, null, 4));
});
```

and I expect the request being sent to Amazon to look like this

```
ItemId=foobar&host=ecs.amazonaws.de&Region=DE
```

but what actually happens is

```
ItemId=foobar&host=ecs.amazonaws.de®ion=DE&Region=US
```

I'm already investigating where the key gets lowercased, but maybe someone can help. It's very confusing, because in prodAdv.js it is still uppercased.

```js
query["Region"] = obj.region
```