diff --git a/http-web-services.html b/http-web-services.html index c9e89d3..e49bb5e 100755 --- a/http-web-services.html +++ b/http-web-services.html @@ -779,7 +779,7 @@ Updates the authenticating user’s status. Requires the status>>> from urllib.parse import urlencode >>> data = {'status': 'Test update from Python 3'} >>> urlencode(data) -'status=test+update+from+python+3' +'status=Test+update+from+Python+3'
  1. Python comes with a utility function to URL-encode a dictionary: urllib.parse.urlencode().
  2. This is the sort of dictionary that the Identi.ca API is looking for. It contains one key, status, whose value is the text of a single status update.