WIP accept header

This commit is contained in:
Salim Kanoun committed 2023-05-29 23:28:17 +02:00
1 parent 56633a67d9
commit f670678cf0
2 files changed
+6 -77

No files matched your search

@@ -54,20 +54,6 @@ export default function initWADOImageLoader(
// we should set this flag to false.
convertFloatPixelDataToInt: false,
},
/*
TODO (Salim) : Seems to be implemented in createDicomWebApi, check if safe to remove
beforeSend: function (xhr) {
const headers = userAuthenticationService.getAuthorizationHeader();
const xhrRequestHeaders = {}
if (headers) {
Object.assign(xhrRequestHeaders, headers);
}
return xhrRequestHeaders;
},
*/
errorInterceptor: error => {
errorHandler.getHTTPErrorHandler(error);
},