Skip to content

Commit

Permalink
Merge pull request #167 from matlex/patch-1
Browse files Browse the repository at this point in the history
Update request_headers.rst
  • Loading branch information
lorien committed Jan 8, 2016
2 parents 48fc324 + 2821658 commit 1d014ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/source/grab/request_headers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ If you need to submit custom HTTP headers, you can specify any number of them
via :ref:`option_headers` option. A common case is to emulate an AJAX request::

>>> g = Grab()
>>> g.setup(header={'X-Requested-With': 'XMLHttpRequest'})
>>> g.setup(headers={'X-Requested-With': 'XMLHttpRequest'})

Bear in mind, that except headers in :ref:`option_headers` option (that is
empty by default) Grab also generates a bunch of headers to emulate a typical
Expand Down

0 comments on commit 1d014ed

Please sign in to comment.