In this issue https://github.com/scoopcn/scoopcn/issues/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.
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.
Bug Report
Current Behavior
In this issue https://github.com/scoopcn/scoopcn/issues/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 theReferer
header.Expected Behavior
I think there should be a place where manifest developer could at least tell
scoop
to not to assign aReferer
header.Additional context/output
Referer
headers are assignedPossible Solution
Define a field in the manifest to denote that if a
Referer
header is needed or not, then modify some of the functions insidelib/install.ps1
to properly passing them, and check the said field before assigning theReferer
.System details
Not related
Scoop Configuration