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.
This commit is contained in:
Peter Marsh
2015-07-15 23:28:09 +01:00
parent 2b26489f74
commit beaa7e4180
+1 -1
View File
@@ -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'