docs: function extractResponseBody( response ) {
  	let responseBody = response.body;
  	if ( isEmptyObject( responseBody ) && response.type === 'text/html' ) {
  		// Response may have come back as HTML due to caching plugin; try to parse
  		// the response text into JSON
  		try {
  			responseBody = JSON.parse( response.text );
  		} catch ( e ) {
  			// Swallow errors, it's OK to fall back to returning the body
  		}
  	}
  	return responseBody;
  }