def add_response(self, request, response):
    self.records.append(ResponseRecord(request, response))
Adds a canned response for a given request.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/opensocial/mock_http.py/MockUrlFetch.add_response