responseHandler
	
	
		can.fixture.types.responseHandler
	
	
	
	
	
	 
{function(status, statusText, responses, headers)}
	
	 
Specifies the response of an AJAX request.
response(status [,statusText], responses, headers)
Specify a HTTP response.
Parameters
- 
			status{Number}The HTTP response code. Ex: 200.
- 
			statusText{String}Optionalthe status text of the response. Ex: "success" for 200. 
- 
			responses{Object<typeName,*>}An object of responses by type. For example: { text: "{\"age\":5}" }If responses does not have a typeNameproperty for the type of request, the entire responses object is used as the response data.
- 
			headers{Object<headerName,String>}HTTP response headers and values. 
response(responses)
Specify the body of a successful HTTP response.
Parameters
- 
			responses{Object<typeName,*>}An object of responses by type. For example: { text: "{\"age\":5}" }If responses does not have a typeNameproperty for the type of request, the entire responses object is used as the response data.