Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBGtK-00AAay-Km for pgsql-www@arkaria.postgresql.org; Thu, 07 Dec 2023 16:06:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rBGtI-001CHc-Ao for pgsql-www@arkaria.postgresql.org; Thu, 07 Dec 2023 16:06:20 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBGtI-001CHU-3i for pgsql-www@lists.postgresql.org; Thu, 07 Dec 2023 16:06:20 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rBGtE-009GtG-4W for pgsql-www@postgresql.org; Thu, 07 Dec 2023 16:06:18 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 853DA2FBF676 for ; Thu, 7 Dec 2023 17:06:12 +0100 (CET) Received: from s979.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id 76A802E27729; Thu, 7 Dec 2023 17:06:12 +0100 (CET) Received: from s470.loopia.se (unknown [172.22.191.6]) by s979.loopia.se (Postfix) with ESMTP id 7567810BC4CC; Thu, 7 Dec 2023 17:06:12 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1] autolearn=disabled Received: from s980.loopia.se ([172.22.191.5]) by s470.loopia.se (s470.loopia.se [172.22.190.34]) (amavisd-new, port 10024) with UTF8LMTP id 7maayIW6R2pX; Thu, 7 Dec 2023 17:06:12 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s980.loopia.se (Postfix) with ESMTPSA id ED6E422016DF; Thu, 7 Dec 2023 17:06:11 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Subject: Re: cannot download mbox with python From: Daniel Gustafsson In-Reply-To: Date: Thu, 7 Dec 2023 17:06:11 +0100 Cc: pgsql-www@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Pierre Forstmann X-Mailer: Apple Mail (2.3696.120.41.1.3) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 7 Dec 2023, at 16:34, Pierre Forstmann = wrote: >=20 > Hello, >=20 > I'm trying to download=20 > https://www.postgresql.org/list/pgsql-bugs/mbox/pgsql-bugs.202312 > with following code using my postgresql.org account: >=20 > print(url + '... ') > response =3D requests.get(url, auth=3D('xxx','yyy')) I'm not very well versed in Python, but isn't this for doing plain HTTP = auth? The postgresql.org account does not support http auth, you need to login = and create a session. -- Daniel Gustafsson