CORS for different web frameworks