source-cooperative / source-cooperative/data.source.coop
[Bug] urllib denied by Cloudflare
Open
Nobody has claimed this yet.
bug
- Dominant language
- Rust
- Stars
- 24
- Forks
- 6
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 1
Description
Description of Bug:
Cloudflare rejects the urllib user agent.
Steps to Reproduce:
▶ curl -H "User-Agent: Python-urllib/3.6" https://data.source.coop/fused/overture/README.md --verbose 2>&1 | grep "< HTTP/2"
< HTTP/2 403
▶ curl -H "User-Agent: Mozilla/5.0" https://data.source.coop/fused/overture/README.md --verbose 2>&1 | grep "< HTTP/2"
< HTTP/2 200
Expected Behavior:
Requests work as expected.
Actual Behavior:
User receives a 403.
Screenshots:
Additional Context:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the curl reproductions against data.source.coop/fused/overture/README.md, comparing the Python-urllib/3.6 and Mozilla/5.0 user agents. Trace the proxy's request handling to determine where the urllib request is rejected; done means the reported urllib request succeeds without the 403 response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100