function buildResponse(oFixtureResponse) {
				var oResponse = {
						buildResponse : oFixtureResponse.buildResponse,
						code : oFixtureResponse.code || 200,
						headers : oFixtureResponse.headers || {},
						ifMatch : oFixtureResponse.ifMatch
					};

				if (oFixtureResponse.source) {
					oResponse.message = readMessage(sBase + oFixtureResponse.source);
					oResponse.headers["Content-Type"] = oResponse.headers["Content-Type"]
						|| contentType(oFixtureResponse.source);
				} else if (typeof oFixtureResponse.message === "object") {
					oResponse.headers["Content-Type"] = sJson;
					oResponse.message = JSON.stringify(oFixtureResponse.message);
				} else {
					oResponse.message = oFixtureResponse.message;
				}
				return oResponse;
			}
/*
			 * Builds a responses from <code>mFixture</code>. Reads the source synchronously and
			 * caches it.
			 * @returns {object} a resource object with code, headers, ifMatch and message
			 */
Builds a responses from mFixture. Reads the source synchronously and
caches it.
@returns {object} a resource object with code, headers, ifMatch and message
Builds a responses from mFixture . Reads the source synchronously and caches it . @returns { object } a resource object with code headers ifMatch and message
function buildResponse(oFixtureResponse) {
				var oResponse = {
						buildResponse : oFixtureResponse.buildResponse,
						code : oFixtureResponse.code || 200,
						headers : oFixtureResponse.headers || {},
						ifMatch : oFixtureResponse.ifMatch
					};
				if (oFixtureResponse.source) {
					oResponse.message = readMessage(sBase + oFixtureResponse.source);
					oResponse.headers["Content-Type"] = oResponse.headers["Content-Type"]
						|| contentType(oFixtureResponse.source);
				} else if (typeof oFixtureResponse.message === "object") {
					oResponse.headers["Content-Type"] = sJson;
					oResponse.message = JSON.stringify(oFixtureResponse.message);
				} else {
					oResponse.message = oFixtureResponse.message;
				}
				return oResponse;
			}
function buildResponse ( oFixtureResponse ) { var oResponse = { buildResponse : oFixtureResponse . buildResponse , code : oFixtureResponse . code || 200 , headers : oFixtureResponse . headers || { } , ifMatch : oFixtureResponse . ifMatch } ; if ( oFixtureResponse . source ) { oResponse . message = readMessage ( sBase + oFixtureResponse . source ) ; oResponse . headers [ "Content-Type" ] = oResponse . headers [ "Content-Type" ] || contentType ( oFixtureResponse . source ) ; } else if ( typeof oFixtureResponse . message === "object" ) { oResponse . headers [ "Content-Type" ] = sJson ; oResponse . message = JSON . stringify ( oFixtureResponse . message ) ; } else { oResponse . message = oFixtureResponse . message ; } return oResponse ; }
Builds a responses from <code>mFixture</code>.
Builds a responses from <code > mFixture< / code > .