bbc / alephant-broker

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

Convert header key to string before calling start_with and gsub #65

Closed samfrench closed 8 years ago

samfrench commented 8 years ago

Convert header key to string before calling start_with and gsub

https://jira.dev.bbc.co.uk/browse/CONNPOL-3135

2016-04-14 12:15:13 +0000: Rack app error: #<NoMethodError: undefined method `start_with?' for :head_ETag:Symbol>
/app/.gems/gems/alephant-broker-3.9.1/lib/alephant/broker/component.rb:48:in `meta_data_headers'

samfrench commented 8 years ago

@dazoakley, I have this PR to fix the header string/symbol error I am seeing in the logs.

dazoakley commented 8 years ago

:+1: