static-file-server
static-file-server copied to clipboard
How to keep params in url during exploring files?
After I add PR#68, I realized that the parameters in the url (e.g., ?key=....) will be lost when exploring files with explorer. I think the parameters should be kept once added to the url, but I do know how to implement this.
I tried to work with the Referer and use it to bypass access control checking but it won't work. Since I do not actually change the url, the parameters in the referer will be lost after one jump. How should I add parameters explicitly to the url generated by clicking?
Could anyone provide any ideas for improvements?
Only way that comes to mind (aside from making a custom client) is to use a cookie in the HTTP headers.