Skip to content
Myr

only use session verify when not modified

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 544a5fe · Browse files · 1 file+4 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+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:requests/sessions.py+4 added-1 removed
143 unmodified lines
144 files = {} if files is None else files145 headers = {} if headers is None else headers146 params = {} if params is None else params147 hooks = {} if hooks is None else hooks148149 if verify is None:148 verify = verify or self.verify150 verify = self.verify151152 # use session's hooks as defaults153 for key, cb in self.hooks.iteritems():154 hooks.setdefault(key, cb)155
133 unmodified lines