… 1024 bytes raised a TypeError while trying to concat bytes to str. Now body of the request is decoded into a utf-8 str with incorrect bytes being backslash-replaced. Since the body_str is used for debugging only, this should be enough.
Tested with and without TEST_DEBUG in env. We probably should include that in the docs on Development and Testing, btw.
… 1024 bytes raised a TypeError while trying to concat bytes to str. Now body of the request is decoded into a utf-8 str with incorrect bytes being backslash-replaced. Since the body_str is used for debugging only, this should be enough.
Tested with and without TEST_DEBUG in env. We probably should include that in the docs on Development and Testing, btw.