Control over the 'Referer' header
sinloss opened this issue · comments
Bug Report
Current Behavior
In this issue scoopcn/scoopcn#45, as being investigated, the upstream always rejects requests with an improper Referer
header. Yet the scoop manifest does not have a place to define or to dismiss the Referer
header.
Expected Behavior
I think there should be a place where manifest developer could at least tell scoop
to not to assign a Referer
header.
Additional context/output
Referer
headers are assigned
Possible Solution
Define a field in the manifest to denote that if a Referer
header is needed or not, then modify some of the functions inside lib/install.ps1
to properly passing them, and check the said field before assigning the Referer
.
System details
Not related
Scoop Configuration
{
"aria2-enabled": false,
"last_update": "2024-06-06T09:56:51.0492256+08:00",
"scoop_branch": "master",
"scoop_repo": "https://github.com/lukesampson/scoop"
}