Added set_response_code to data_helper as http_response_code is not always available
Merge branch 'error_codes'