<s> """<STR_LIT>""" <EOL> from . import sessions <EOL> def request ( method , url , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> session = sessions . Session ( ) <EOL> return session . request ( method = method , url = url , ** kwargs ) <EOL> def get ( url , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> kwargs . setdefault ( '<STR_LIT>' , True ) <EOL> return request ( '<STR_LIT>' , url , ** kwargs ) <EOL> def options ( url , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> kwargs . setdefault ( '<STR_LIT>' , True ) <EOL> return request ( '<STR_LIT>' , url , ** kwargs ) <EOL> def head ( url , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> kwargs . setdefault ( '<STR_LIT>' , False ) <EOL> return request ( '<STR_LIT>' , url , ** kwargs ) <EOL> def post ( url , data = None , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return request ( '<STR_LIT>' , url , data = data , ** kwargs ) <EOL> def put ( url , data = None , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return request ( '<STR_LIT>' , url , data = data , ** kwargs ) <EOL> def patch ( url , data = None , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return request ( '<STR_LIT>' , url , data = data , ** kwargs ) <EOL> def delete ( url , ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> return request ( '<STR_LIT>' , url , ** kwargs ) </s>
