foo, bar prj
init cors testing environment.
Test middleware.
use core gem to set Access-Control-Allow-Origin to * let browser could access cross domain resources.