BBC-News/alephant-broker — pull request #25 by revett (2014-11-04 12:58:03+00:00)
Title: Consolidate URL Params

This branch has superseded [#23](https://github.com/BBC-News/alephant-broker/pull/23).

#### Problem

When using a **hash** in the options of a component within a batch request, the returned value would not be identical. Instead it would have been converted to a URL encoded query string.

#### Solution

- If the url parameters come in the form of a query string (asset), then convert it to hash w/ symbolized keys.
- If the url parameters come in the form of a hash (batch), then pass it as is.

#### Note

The keys are converted to symbols as a legacy requirement to make sure that the [Crimp](https://github.com/BBC-News/crimp).signature generated from the url parameters is consistent.

![image.gif](http://i.imgur.com/pVY6BgJ.gif)