Cross origin middleware response