Fix calendar and csv responses through api proxy