Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
WSGI applications are required to return bytes. #1489
Graham makes a good argument. I want to remove as many references to ISO-8859-1 from the code as possible, and removing this leniency is one place where that can be done. The tests continue to pass if text is refused with a ValueError, so I'm inclined to simply reject text values. Thanks for raising this here.