From beaa7e4180ad6679424dda3d6bbd0368591ada17 Mon Sep 17 00:00:00 2001 From: Peter Marsh Date: Wed, 15 Jul 2015 23:28:09 +0100 Subject: [PATCH] Fix quickstart "Custom Headers" example intro Previously this section prefaced an example with: For example, we didn't specify our content-type But, the actual example set a custom user-agent header on the request. This changes it to say "user-agent" instead which matches the given example. --- 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 7b14610c..cac4ace0 100644 --- a/docs/user/quickstart.rst +++ b/docs/user/quickstart.rst @@ -182,7 +182,7 @@ Custom Headers If you'd like to add HTTP headers to a request, simply pass in a ``dict`` to the ``headers`` parameter. -For example, we didn't specify our content-type in the previous example:: +For example, we didn't specify our user-agent in the previous example:: >>> import json >>> url = 'https://api.github.com/some/endpoint'