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

Loading file url with dynamic url #1628

Open
JDufrenneAnsys opened this issue Mar 13, 2024 · 3 comments
Open

Loading file url with dynamic url #1628

JDufrenneAnsys opened this issue Mar 13, 2024 · 3 comments
Labels
question Further information is requested
Milestone

Comments

@JDufrenneAnsys
Copy link

I have a dynamic way to get my files: https://myserver/getFile?fileName=test.dcm&fileID=XXXXXXXXXXX

Today it's not possible to load the files due to "canLoadUrl" of each loaders.

Is it possible to extend default capabilities by detecting"filename" or "fileName" params in url and to use it instead of urlObjext.pathname ?

@ivmartel ivmartel added the question Further information is requested label Mar 15, 2024
@ivmartel ivmartel modified the milestones: 0.33.0, 0.34.0 Mar 15, 2024
@ivmartel
Copy link
Owner

ivmartel commented Mar 15, 2024

I'm thinking of adding a force parameter to the loadURLs options to override the checks. Would that be ok with your use case?

@JDufrenneAnsys
Copy link
Author

Yes it should be perfect !

@ivmartel
Copy link
Owner

The option is added in the latest code and will be available in the, I hope soon, v0.33 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants