-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to add or download anything from netfilter.org #15
Comments
The code is failing in the Lines 52 to 55 in afaa354
If I add the following, it all works -- but this is clearly not the Right solution: err = requests.
URL(u).
+ AddValidator(nil).
ToFile(fileName).
Fetch(ctx) I've run out of time to investigate further at the moment; filing this issue in the hope that someone else recognizes what's happening here. |
Interestingly, it appears that netfilter.org is quite picky about the request headers:
Or even:
|
Description
Attempting to
grabit add ...
any URL fromnetfilter.org
seems to result in a 403 failure, despite the fact that I can successfullywget
the same URL with no errors.Expected Behavior
I expect
grabit
to be able to successfullygrabit add ...
each of the following URLs:Actual Behavior
grabit
returns a 403 error, and fails to add an entry to the lockfile. Even if I manually add a proper entry to the lockfile andgrabit download
,grabit
returns the same 403 error and fails to download the file.Affected Version
The tip of
main
.Steps to Reproduce
However:
Checklist
The text was updated successfully, but these errors were encountered: