code: function(url, response, method, status, headers) {
  			if (!_private.isPlayStarted()) {
  				throw new Error("Start the player first before you add a response.");
  			}
  			var sMethod = method || "GET";
  			var aHeaders = headers || [{
  				"name": "Content-Type",
  				"value": "text/plain;charset=utf-8"
  			}];
  			var iStatus = status || 200;
  			var oEntry = {
  				"startedDateTime": new Date().toISOString(),
  				"time": 0,
  				"request": {
  					"headers": [],
  					"url": url,
  					"method": sMethod
  				},
  				"response": {
  					"status": iStatus,
  					"content": {
  						"text": response
  					},
  					"headers": aHeaders
  				}
  			};
  			var iIndex = _private.mHarFileContent.log.entries.push(oEntry) - 1;
  			_private.addEntryToMapping(_private.mHarFileContent, _private.mHarFileContent.log.entries, iIndex);
  		}
docs: Adds a response for a request with the provided URL.
  
  @param {string} url The requested URL.
  @param {string|function} response The returned response as string or callback.
  @param {string} [method] The HTTP method (e.g. GET, POST), default is GET.
  @param {int} [status] The desired status, default is 200.
  @param {array} [headers] The response Headers, default is text/plain.