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

This commit is contained in:
Emanuel Oliveira authored and Leonardo Campos committed 2017-03-15 10:16:20 -03:00
1 parent d1aa77dd76
commit e97348bf8b
1 file changed
+3
+3
View File
@@ -35,6 +35,9 @@ Router.route(Settings.uri.replace(OHIF.utils.absoluteUrl(), ''), function() {
if (request.headers['user-agent']) { if (request.headers['user-agent']) {
options.headers['user-agent'] = 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, // Retrieve the authorization user:password string for the PACS,
// if one is required, and include it in the request to the PACS. // if one is required, and include it in the request to the PACS.