Skip to content
Myr

Merge pull request #348 from LucianU/develop

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fixed code in 'Event Hooks' section

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 4258201, de17f4e · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/user/advanced.rst+1 added-1 removed
192 unmodified lines
193194Let's hijack some arguments this time with a new callback::195196 def hack_headers(args):197 if not args[headers]:197 if args.get('headers') is None:198 args['headers'] = dict()199200 args['headers'].update({'X-Testing': 'True'})201
92 unmodified lines