HomeSoftware Heritage

Don't expect 'wsgi.input' to have working 'seek' method

Description

Don't expect 'wsgi.input' to have working 'seek' method

This is a follow-up to 5a69c46 which misses the fact that even though an
input stream might have 'seek' and 'tell' methods, they do not
necessarily have to be implemented. See also http://bugs.python.org/issue12877

Details

Provenance
Jonas Haag <jonas@lophus.org>Authored on Apr 12 2016, 11:16 AM
ardumontPushed on Sep 27 2021, 5:34 PM
Parents
rPPDW7b7043852cca: Don't use deprecated assertEquals.
Branches
Unknown
Tags
Unknown

Event Timeline