Should not call `request->getAcceptEncoding()` twice