You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I use spiget for search and download plugins in my mcpanel, but i noticed that the Content-Disposition was removed from the download response headers, and this cause that i can't get the filename. Anybody has any idea where can i get the filename?
Thanks!
The text was updated successfully, but these errors were encountered:
The download endpoint was changed to redirect to the new cdn service. Follow that redirect and it should give you a filename again, although you really shouldn't be relying on that too much.
It fallows the redirect, because if i set a static name, it can download it. Is there an api endpoint which provide the jar name? Or how will be better?
Is there an api endpoint which provide the jar name
No. Spiget has no idea what the original file name is. The previous download route used to literally set it to $name#$id#type, so just use the name from the cdn (which should be the resource id) or set it to whatever you'd like, since it really doesn't matter.
Hello,
I use spiget for search and download plugins in my mcpanel, but i noticed that the Content-Disposition was removed from the download response headers, and this cause that i can't get the filename. Anybody has any idea where can i get the filename?
Thanks!
The text was updated successfully, but these errors were encountered: