From 3711e04f37329b7252e13b410bc0ab04a6c4645c Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=2EYasoob=20Ullah=20Khalid=20=E2=98=BA?= Date: Sun, 15 Mar 2015 22:42:43 +0500 Subject: [PATCH] edited the useragent string --- docs/user/quickstart.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user/quickstart.rst b/docs/user/quickstart.rst index 6573b46..e26abaa 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -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) -- 2.34.1