Add content compression support to API HTTP responses.