bbc / alephant-broker

Brokers requests for alephant components
MIT License
4 stars 3 forks source link

[READY] Fix meta data issue #45

Closed stevenjack closed 9 years ago

stevenjack commented 9 years ago

glove

Problem

The metadata keys for an object are just flat key => value pairs and can't contain a nested hash.

Solution

Each key that is should be passed back as a header through the broker is prepended with head_. These keys are taken out of the metadata, the prefix stripped and capitalised.

revett commented 9 years ago

:cake: but please raise issue for moving to config.