Make response headers available to the code generator
Merge pull request #781 from martoe/responseheaders

Make response headers available to the code generator