Skip to content

Commit

Permalink
Merge pull request #21 from sileht/master
Browse files Browse the repository at this point in the history
Allow templating headers
  • Loading branch information
cdent committed Mar 2, 2015
2 parents b4ca83c + 771991b commit 63df050
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gabbi/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ def _run_test(self):

method = test['method'].upper()
headers = test['request_headers']
for k in headers:
headers[k] = self.replace_template(headers[k])

if test['data']:
body = self._test_data_to_string(
Expand Down

0 comments on commit 63df050

Please sign in to comment.