require gzip or deflate for all api requests