﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29520	test client crashes when posting bytes	Mathias Ertl	nobody	"b8a41a2872624a6d9e61308932dd81d001e31eb9 removes the `force_bytes` method for encoding data in post requests with `data.encode()`. This breaks the usecase of posting `data=bytes` to `TestClient.post()`, since that type does not have that function. The old implementation of course just returned the same value unchanged in case of a bytes value.

A simple fix would be to add an `if not isinstance(bytes, data)` check before invoking the `_encode_data` function."	Bug	closed	Testing framework	2.1	Release blocker	fixed		Herbert Fortes	Ready for checkin	1	0	0	0	0	0
