This fixers an issue that took a ferw hours to trobuleshoot. Apparently the headers dict really, really needs to str() the response_body's len() calculation.
Please merge this pull request. It works and the original version cases a lot of trouble. I've checked the knowledge base and the chat rooms, there is a lot of message about it. Thanks.
Thanks, @Meicroft and @horvatha
We have used your suggested updates, along with a few other modifications in this commit.
We appreciate your inputs.
Happy learning
Udacity
This fixers an issue that took a ferw hours to trobuleshoot. Apparently the headers dict really, really needs to str() the response_body's len() calculation.