Comment 4 for bug 2053016

Revision history for this message
Olivier Gayot (ogayot) wrote (last edit ): Re: Exception on Ubuntu Core 24

$ cat > file.py
> import requests_unixsocket
>
> with requests_unixsocket.Session() as session:
> session.get('http+unix://%2Ftmp/')

$ dpkg-query --show python3-requests-unixsocket
python3-requests-unixsocket 0.3.0-3
$ python3 file.py
[...]
TypeError: HTTPConnection.request() got an unexpected keyword argument 'chunked'

$ dpkg -i dpkg -i ~/python3-requests-unixsocket_0.3.0-3ubuntu1_all.deb
$ python3 file.py
[...]
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))

This is as expected.