From user-return-20407-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Thu Apr 18 09:36:32 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8DDCA18061A for ; Thu, 18 Apr 2019 11:36:32 +0200 (CEST) Received: (qmail 94327 invoked by uid 500); 18 Apr 2019 09:36:30 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 94247 invoked by uid 99); 18 Apr 2019 09:36:30 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2019 09:36:30 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 7678CC02F1 for ; Thu, 18 Apr 2019 09:36:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.049 X-Spam-Level: X-Spam-Status: No, score=0.049 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id RkZ1EbRyIKX1 for ; Thu, 18 Apr 2019 09:36:28 +0000 (UTC) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 722905FBBA for ; Thu, 18 Apr 2019 09:36:27 +0000 (UTC) Received: by mail-qt1-f179.google.com with SMTP id s15so1459684qtn.3 for ; Thu, 18 Apr 2019 02:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=2vlaqnaw2k0CBbjCMKJvlFc81ii+Z1u7ydN+47gx+Wk=; b=LUqXH0TnEZq7qx5m6qjAbBzFrGNNLDBrks+ykBvtdeBeIndOeNMktRQXF5Q1LtqkPs kJjun0JxaUvPaTt0sFVEvu1dbquUAAhE2M6sv33flmJEsVTMGooXS4qYg1Pizrs1jisE sjj3hUn7oN4o6EadZb0F3Ge4+GqOYV+0tQKiFVS6LTMAu23okcOvfqnJ+ZRSwezL1dQQ AGyR7XZTWKyJUTOEsTavbJv0QLTWvEiOgyuWfj7lbpRZH1+csYyx5WC/MGE8PuzaF+8O Hv6RnIIS520CnOv7AqzAL35hY/G3YlM1IEOHQ3crRvXeHN/NKHDZsgPRPounWL3DCdc2 q3fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2vlaqnaw2k0CBbjCMKJvlFc81ii+Z1u7ydN+47gx+Wk=; b=JH8/Hx7nG7qkU+WdwOm4SzJpt7D8mnwNfH3sZjXfZtGiGUp//v0eK7t0S2t6mw38nb GBP/4r3OZHcPhyULu6BCpVyGxHMPM+8W5kB20F/g4NvrxzUrIpQHFm37+m2FfqflKG04 2oKgkvtDJBD/n+EcO6ImRqoEwzChuOgMx8gOj+wHz9d2jmXPKxFrwBU020NEVgoZsWx1 h+vqsV7T6KQE500SIm79hZzCdPh6gc/r5k9vnHaRwUaNn8yDhK59vhZpyOdZfZLjoNA4 ZyEStg05AAgyjp4cUE1eS2gBvZlRlFtL8ZmVTAF2lCTNtMhi+KXrTB2vCkYlm3E4Y+5+ /M6A== X-Gm-Message-State: APjAAAVI18/ymwAlqavhPb0Zht39pwQEr+WLkeRjx+8jsSJnh6iTRMDQ 8lOxlDOhfTXIZnBpMlxEUcziM34jzaGudJdxcBh5uAAu X-Google-Smtp-Source: APXvYqzZCqsb8KcNEEm0vGPxV2NwkBJYYrmXw8z7Ta/8Fx3kg+CboxasM6gKhRlMtmA9e7j6KaCACTcGNJJtQu5Mtjs= X-Received: by 2002:ac8:1a34:: with SMTP id v49mr74937802qtj.236.1555580186104; Thu, 18 Apr 2019 02:36:26 -0700 (PDT) MIME-Version: 1.0 From: Markus Rathgeb Date: Thu, 18 Apr 2019 11:36:14 +0200 Message-ID: Subject: Karaf, Pax Web, Jetty, GzipHandler (compression) To: user@karaf.apache.org Content-Type: text/plain; charset="UTF-8" Hi, I would like to use gzip compression for * my servlets registered using the "registerServlet" method of "HttpService" * for a handler that provides static content of a directory added by jetty.xml The programmatic registered servlets are the most important ones. Would be nice if there is one global option to configure the default behavior and if it is still configurable per servlet. For the static content I am currently using that part of the jetty.xml === /foo/static /html-foo false /bar/static /html-bar org.eclipse.jetty.servlet.DefaultServlet / dirAllowed false === Can you give me some tips / information / solution? Best regards, Markus