Fix headers variable in wrong scope in get()
Merge pull request #224 from jbaumbach/master

Fix headers variable in wrong scope in get()