We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 48fc324 + 2821658 commit 1d014edCopy full SHA for 1d014ed
1 file changed
docs/en/source/grab/request_headers.rst
@@ -10,7 +10,7 @@ If you need to submit custom HTTP headers, you can specify any number of them
10
via :ref:`option_headers` option. A common case is to emulate an AJAX request::
11
12
>>> g = Grab()
13
- >>> g.setup(header={'X-Requested-With': 'XMLHttpRequest'})
+ >>> g.setup(headers={'X-Requested-With': 'XMLHttpRequest'})
14
15
Bear in mind, that except headers in :ref:`option_headers` option (that is
16
empty by default) Grab also generates a bunch of headers to emulate a typical
0 commit comments