If we pass non-ASCII strings to create_csv_response, it will call unicode() on it, and fail with UnicodeDecodeError. So pass Unicode strings, or ASCII-only bytestrings for the headers.
2.9 KiB
2.9 KiB