Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] nifti-volume-loader should be configurable to include custom (auth) headers in requests (beforeSend) #1688

Closed
nagychris opened this issue Dec 9, 2024 · 1 comment · Fixed by #1708
Assignees

Comments

@nagychris
Copy link

What feature or change would you like to see made?

Current behavior
When using https://github.com/cornerstonejs/cornerstone3D/tree/main/packages/nifti-volume-loader, it is currently not possible to configure any headers for the requests to retrieve the nifti volumes.

Expected behavior
nifti-volume-loader can be configured when registering it (e.g. in a beforeSend method similar to dicomImageLoader), allowing for custom headers, e.g., for authentication towards the server.

Why should we prioritize this feature?

Without this feature it is impossible to use the nifti-volume-loader in our project, because we require authentication towards a server that contains the nifti files. This will be the case for a lot of production applications with proper data security measures, especially in the medical domain and its patient privacy concerns.

@nagychris nagychris changed the title [Feature Request] [Feature Request] nifti-volume-loader should be configurable to include custom (auth) headers in requests (beforeSend) Dec 9, 2024
@IbrahimCSAE
Copy link
Collaborator

Thanks, this is a good one, i will add it this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants