NI Package Management Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
avogadro5

Allow packages hosted on web servers to use the "filename" header instead of URL

Status: New

I'm not 100% sure on the proper terminology, but certain URLs meant to download files in your browser don't contain the filename in the URL, rather there's an http header "filename" that presumably the browser uses to decide the name of the downloaded file. 

avogadro5_1-1722645049971.png

Basically I'd like to "feed-add-package" the package hosted at this URL, but nipkg.exe rejects it because the URL doesn't end in ".nipkg." So NIPM would need to be slightly smarter and accept this "redirect" to the actual filename.

 

What I'm specifically trying to do is host the files in the package registry on our GitLab, and I think this may be the only thing preventing that from working.