diff options
| author | Jon Wayne Parrott <jon.wayne.parrott@gmail.com> | 2016-06-29 10:57:29 -0700 |
|---|---|---|
| committer | Jon Wayne Parrott <jon.wayne.parrott@gmail.com> | 2016-06-29 10:57:29 -0700 |
| commit | acb549dcbbdb4655a8db031cc2ee251e5bb09e76 (patch) | |
| tree | 46819c22bd38a6868601df712233fed4e826a081 /docs | |
| parent | 3dbaf7e6903dbbf1aa20c5b6dca2bd744623d633 (diff) | |
| download | urllib3-acb549dcbbdb4655a8db031cc2ee251e5bb09e76.tar.gz | |
Addressing review comments
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user-guide.rst | 2 |
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', |
