edited the useragent string
authorM.Yasoob Ullah Khalid ☺ <yasoob.khld@gmail.com>
Sun, 15 Mar 2015 17:42:43 +0000 (22:42 +0500)
committerM.Yasoob Ullah Khalid ☺ <yasoob.khld@gmail.com>
Sun, 15 Mar 2015 17:42:43 +0000 (22:42 +0500)
docs/user/quickstart.rst

index 6573b462098e1be0735705852739e96983f4978e..e26abaad4439d4223b5dd73c12ec9ee66a323cda 100644 (file)
@@ -186,7 +186,7 @@ For example, we didn't specify our content-type in the previous example::
 
     >>> import json
     >>> url = 'https://api.github.com/some/endpoint'
-    >>> headers = {'user-agent': 'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36'}
+    >>> headers = {'user-agent': 'my-app/0.0.1'}
 
     >>> r = requests.get(url, headers=headers)