summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJon Wayne Parrott <jon.wayne.parrott@gmail.com>2016-06-29 10:57:29 -0700
committerJon Wayne Parrott <jon.wayne.parrott@gmail.com>2016-06-29 10:57:29 -0700
commitacb549dcbbdb4655a8db031cc2ee251e5bb09e76 (patch)
tree46819c22bd38a6868601df712233fed4e826a081 /docs
parent3dbaf7e6903dbbf1aa20c5b6dca2bd744623d633 (diff)
downloadurllib3-acb549dcbbdb4655a8db031cc2ee251e5bb09e76.tar.gz
Addressing review comments
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user-guide.rst b/docs/user-guide.rst
index e6b8c791..22a0f2b1 100644
--- a/docs/user-guide.rst
+++ b/docs/user-guide.rst
@@ -146,7 +146,7 @@ argument and setting the ``Content-Type`` header when calling
>>> import json
>>> data = {'attribute': 'value'}
- >>> encoded_data = json.dumps(data)
+ >>> encoded_data = json.dumps(data).encode('utf-8')
>>> r = http.request(
... 'POST',
... 'http://httpbin.org/post',