XML RPC changes between 3.7 and 3.9 yield 401 http error

Chris Angelico rosuav at gmail.com
Wed Feb 24 14:21:06 EST 2021


On Thu, Feb 25, 2021 at 6:14 AM lucas <lucas at bourneuf.net> wrote:
> I tested from the windows computer (Python 3.8, it appears, not 3.7 as i
> thought), and got the following nginx log:
>
> [LAPTOP IP] - - [24/Feb/2021:20:06:42 +0100] "POST
> /lib/exe/xmlrpc.php?u=[user]&p=[password] HTTP/1.1" 200 209 "-"
> "DokuWikiXMLRPC  1.0  for testing windows"
>
> That other laptop also had an ubuntu installed, with python 3.6.9, so i
> ran the program and got the expected output, and the following nginx log:
> [LAPTOP IP] - - [24/Feb/2021:20:04:04 +0100] "POST
> /lib/exe/xmlrpc.php?u=[user]&p=[password] HTTP/1.1" 200 209 "-"
> "DokuWikiXMLRPC  1.0  for testing ubuntu"
>
> Both accessed correctly the dokuwiki version. Unless this is a platform
> specific problem, it seems to narrow it to 3.9.
>

Curious.

I think, at this point, we need a repeatable test case. Wonder how
hard it would be to make a single Python script that has a tiny server
and a tiny client, and tries to connect them.

ChrisA


More information about the Python-list mailing list