From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 54A7E1FF37F for ; Thu, 18 Apr 2024 10:14:15 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id EEDD4168EB; Thu, 18 Apr 2024 10:14:15 +0200 (CEST) Message-ID: From: Folke Gleumes To: pve-devel@lists.proxmox.com Date: Thu, 18 Apr 2024 10:13:42 +0200 In-Reply-To: <20240417113129.318431-1-m.sandoval@proxmox.com> References: <20240417113129.318431-1-m.sandoval@proxmox.com> User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.012 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [anyevent.pm, rfc-editor.org] Subject: Re: [pve-devel] [PATCH http-server v2] http: support Content-Encoding=deflate X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" R2F2ZSB0aGlzIGEgdGVzdCB3aXRoOgoKQWNjZXB0LWVuY29kaW5nOiBkZWZsYXRlCkFjY2VwdC1l bmNvZGluZzogZGVmbGF0ZSwgZ3ppcApBY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