summaryrefslogtreecommitdiff
path: root/docs/narr
diff options
context:
space:
mode:
Diffstat (limited to 'docs/narr')
-rw-r--r--docs/narr/webob.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/narr/webob.rst b/docs/narr/webob.rst
index 665bbddc9..e0524583f 100644
--- a/docs/narr/webob.rst
+++ b/docs/narr/webob.rst
@@ -287,7 +287,7 @@ that has a body suitable for reading via ``request.json_body`` using Python's
import json
json_payload = json.dumps({'a':1})
- headers = {'Content-Type':'application/json; charset=utf-8'}
+ headers = {'Content-Type':'application/json'}
req = urllib2.Request('http://localhost:6543/', json_payload, headers)
resp = urllib2.urlopen(req)