Added content-length to api response