#32397: django-admin start[project|app] doesn't send proper user agent header 
when
HTTP(S) url is sent.
-------------------------------------+-------------------------------------
     Reporter:  rsp2k                |                    Owner:  rsp2k
         Type:  New feature          |                   Status:  assigned
    Component:  Core (Management     |                  Version:  3.1
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Description changed by rsp2k:

Old 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).

New 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).

 This patch sets the 'User Agent' header to Django/DJANGO_VERSION.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32397#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.30873e20b6f6ca1d603782df3d7e032d%40djangoproject.com.

Reply via email to