noc.core.script.http.middleware.urlsession

Module Contents

class noc.core.script.http.middleware.urlsession.URLSessionMiddleware(http, session_param='session_id')

Bases: noc.core.script.http.middleware.base.BaseMiddleware

Append &session_id=XXXXX to requests. session_id name may be changed via session_param

name = urlsession
process_request(self, url, body, headers)