Added implicit for function2processor
Added CORS test
Updated redirect responses for location header