Check for accept-encoding header.