protected static InputStream unzipStreamIfNeeded(InputStream inputStream, HttpRequest httpRequest)
            throws IOException {
        String contentEncodingHeader = httpRequest.getHeader("content-encoding");
        if ("gzip".equals(contentEncodingHeader)) {
            return new GZIPInputStream(inputStream);
        } else {
            return inputStream;
        }
    }
Accept feeds from outside the Vespa cluster.

@author Steinar Knutsen
vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/FeedHandler.java