Opened 4 years ago
Last modified 3 years ago
#32397 closed Cleanup/optimization
django-admin start[project|app] doesn't send proper user agent header when HTTP(S) url is sent. — at Initial Version
Reported by: | rsp2k | Owned by: | rsp2k |
---|---|---|---|
Component: | Core (Management commands) | Version: | 3.1 |
Severity: | Normal | Keywords: | |
Cc: | Ad Timmering | Triage Stage: | Ready for checkin |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
By default, when fetching a remote template, django-admin start[app|project] uses the default urllib User Agent which causes some sites to block requests (namely gitlab, since they use cloudflare See https://gitlab.com/gitlab-org/gitlab/-/issues/219669).
Note:
See TracTickets
for help on using tickets.