handle options method calling to return Access-Control- header data