diff test/rest_common.py @ 5725:6923225fd781

Handle UnicodeDecodeError in file class when file contents are not text (e.g. jpg). This shows up in python3 due to conversion from bytes to string. This allows binary file retrieval via the rest interface to complete.
author John Rouillard <rouilj@ieee.org>
date Wed, 22 May 2019 20:56:59 -0400
parents aea2cc142c1b
children e199d0ae4a25
line wrap: on
line diff

Roundup Issue Tracker: http://roundup-tracker.org/