In case this isn't already known, the difference between
`urllib.request.urlopen()` and `requests.get()` is the User-Agent
header. Using `urllib.request.urlopen()` with a request with User-Agent
set to `curl/1.2.3` (for example) also succeeds
(https://discourse.ubuntu.com/t/81754).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2151246

Title:
  upgrades from all releases fail to fetch release announcement

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2151246/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to