Orbits  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Classes | Functions
pip._vendor.requests.sessions Namespace Reference

Classes

class  SessionRedirectMixin
 
class  Session
 

Functions

def merge_setting
 
def merge_hooks
 
def session
 

Function Documentation

def pip._vendor.requests.sessions.merge_hooks (   request_hooks,
  session_hooks,
  dict_class = OrderedDict 
)
Properly merges both requests and session hooks.

This is necessary because when request_hooks == {'response': []}, the
merge breaks Session hooks entirely.
def pip._vendor.requests.sessions.merge_setting (   request_setting,
  session_setting,
  dict_class = OrderedDict 
)
Determines appropriate setting for a given request, taking into account the
explicit setting on that request, and the setting in the session. If a
setting is a dictionary, they will be merged together using `dict_class`
def pip._vendor.requests.sessions.session ( )
Returns a :class:`Session` for context-management.

Copyright 2014 Google Inc. All rights reserved.