#VERIFICATION-DONE-FOCAL Using the webserver.py/client.py scripts defined in the test case section in the description:
$ dpkg -l | grep twisted ii python3-twisted 18.9.0-11ubuntu0.20.04.1 all Event-based framework for internet applications ii python3-twisted-bin:amd64 18.9.0-11ubuntu0.20.04.1 amd64 Event-based framework for internet applications $ twistd3 -y ./webserver.py $ ./client.py == BODY: --8825899812428059282 --8825899812428059282-- The multipart request works fine (it's logged at the end) and there's no exception thrown to the logs: $ tail ./twistd.log 2021-02-26T13:56:41+0100 [-] Loading ./webserver.py... 2021-02-26T13:56:42+0100 [-] Loaded. 2021-02-26T13:56:42+0100 [twisted.scripts._twistd_unix.UnixAppLogger#info] twistd 18.9.0 (/usr/bin/python3 3.8.5) starting up. 2021-02-26T13:56:42+0100 [twisted.scripts._twistd_unix.UnixAppLogger#info] reactor class: twisted.internet.epollreactor.EPollReactor. 2021-02-26T13:56:42+0100 [-] Site starting on 8080 2021-02-26T13:56:42+0100 [twisted.web.server.Site#info] Starting factory <twisted.web.server.Site object at 0x7fc2ccad4f10> 2021-02-26T13:56:46+0100 [twisted.python.log#info] 127.0.0.1 - - [26/Feb/2021:12:56:46 +0000] "POST / HTTP/1.1" 404 153 "-" "Python-httplib2/0.14.0 (gzip)" # AUTOPKGTEST NOTES Autopkgtest failures in automat are due to a missing package in Ubuntu: python-twisted-core is missing in Focal (as the rest of python2 packages) but is required by automat tests. This has been reported in the following bug: https://bugs.launchpad.net/ubuntu/+source/automat/+bug/1917041 ** Tags removed: verification-needed verification-needed-focal verification-needed-groovy ** Tags added: verification-done verification-done-focal verification-done-groovy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1915819 Title: 'NoneType' object has no attribute 'encode' in requestReceived() when multipart body doesn't include content-disposition To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/twisted/+bug/1915819/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs