function getHeaders( response ) {
	const headers = {};
	response.headers.forEach( ( value, key ) => {
		headers[ key ] = value;
	} );
	return headers;
}
Get the response headers as a regular JavaScript object.

@param {Object} response Fetch response object.