for (Entry<String, List<String>> entry : payload.getHeaders().entrySet()) {
response.setHeader(entry.getKey(), entry.getValue());
}
if (context != null) {
verifyResponsePayload.fire(new VerifyResponsePayload(payload));
context.pushResponsePayload(payload);
}
} catch (Exception originalException) {
response.setStatus(HttpResponseStatus.INTERNAL_SERVER_ERROR);