noc.core.script.http.middleware.urlrequestid

Module Contents

class noc.core.script.http.middleware.urlrequestid.URLRequestIdMiddleware(http, request_id_param='request_id')

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

Append &request_id=XXXXX to requests. Request id is automatically increased with each next request. request_id name may be changed via request_id_param

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