OHIF-33 Accept HTTP header was not being proxied...

This commit is contained in:
Emanuel Oliveira 2016-12-12 14:07:09 -02:00 committed by Leonardo Campos
parent d1aa77dd76
commit e97348bf8b

View File

@ -34,7 +34,10 @@ Router.route(Settings.uri.replace(OHIF.utils.absoluteUrl(), ''), function() {
}
if (request.headers['user-agent']) {
options.headers['user-agent'] = request.headers['user-agent'];
}
}
if (request.headers['accept']) {
options.headers['accept'] = request.headers['accept'];
}
// Retrieve the authorization user:password string for the PACS,
// if one is required, and include it in the request to the PACS.