Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 87916200B98 for ; Mon, 3 Oct 2016 18:35:26 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 862A1160ADC; Mon, 3 Oct 2016 16:35:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CA6DA160ACD for ; Mon, 3 Oct 2016 18:35:25 +0200 (CEST) Received: (qmail 62300 invoked by uid 500); 3 Oct 2016 16:35:24 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 62290 invoked by uid 99); 3 Oct 2016 16:35:24 -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; Mon, 03 Oct 2016 16:35:24 +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 1B764C14C1 for ; Mon, 3 Oct 2016 16:35:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.22 X-Spam-Level: X-Spam-Status: No, score=-0.22 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rcbowen-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id f3rTBRTjl7WL for ; Mon, 3 Oct 2016 16:35:21 +0000 (UTC) Received: from mail-qk0-f180.google.com (mail-qk0-f180.google.com [209.85.220.180]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 8F1105FB0B for ; Mon, 3 Oct 2016 16:35:21 +0000 (UTC) Received: by mail-qk0-f180.google.com with SMTP id n189so94624843qke.0 for ; Mon, 03 Oct 2016 09:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rcbowen-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=LdtjPBMBqaQrfuZeRmMFY9k+BjAAVnOeB0n5/eMnZQc=; b=CQFJg26qkkhNR8dqySjodnv1PF5Xe47W/7b5SlP5FaHYS0CC3uAeacm5euXSjRAtYp 4ry4kD9/7j+HsvVhLr431V6iGkhNgLVknWDqjRHpJVieD4iJIzRNIa8WbDuDo1epBtZm VARO3Qrqop/fvIatCOYpIQM4sDPH/UaiivWMvc7GtBbt5rjCL46JRLBr1iwOooWyw/BD p97kjO1US653YVpx3w55vjDhN2lX1nv3rzdwWdIPD0iVZDtkTj5vkcbo1zsOflLav9K6 vMCzlAzpmWBR6t7AbKsin0BurA4hrL5BmghLPCG3CETdLLbivyrPgfhhdV/MuTjZ1vJB kHfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=LdtjPBMBqaQrfuZeRmMFY9k+BjAAVnOeB0n5/eMnZQc=; b=JGlQ+Uy41iSbc0fMWBAx7JH9/Cg6p9qqTVGet85B+TfdGc1RYJVc6rAw4d/LIVQh8N 7STeavUZXfsijA5ov8NMrUTR6xsxFFnUy3qfHBZeesLll3agtTBkh7KYurPdB0ClHdtz 8jKz2BFHQiQC5xOvcMl9kgsZPJduzpROiD4KSWyb5bl5LMZAAbKggPnxQaejRmIJzggp 0hcXNamydXzBv455NxamM3XowMSyY4eEQOjbElmixEQ9s/Qk7YeBbOgoHoLlmGYYHtHn PMW2QA8p2ypnJOljqZSwcg2TlaF64yBJoKKy9hxiMYH4qEral79nw+UFVFa+ImiiNfTc 49Vg== X-Gm-Message-State: AA6/9RlOfBcDTKnX9/x3Q2bflqGlUC541HqCbIyzRCpzVesRjuAb4QtwEDl1nwgv5b5NXg== X-Received: by 10.55.75.145 with SMTP id y139mr21004860qka.26.1475512520847; Mon, 03 Oct 2016 09:35:20 -0700 (PDT) Received: from [192.168.0.207] (cpe-192-180-213-35.kya.res.rr.com. [192.180.213.35]) by smtp.googlemail.com with ESMTPSA id a192sm17411442qkc.26.2016.10.03.09.35.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Oct 2016 09:35:19 -0700 (PDT) To: users@httpd.apache.org References: <1471565592.56318.1475229584217@ox.profihost.com> From: Rich Bowen Message-ID: Date: Mon, 3 Oct 2016 12:35:17 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="aA4UkJIkJGsaX1QsxFUc7hoHA0RtP2poN" Subject: Re: [users@httpd] Showing exact filesize in bytes instead of shortform in directory listing archived-at: Mon, 03 Oct 2016 16:35:26 -0000 --aA4UkJIkJGsaX1QsxFUc7hoHA0RtP2poN Content-Type: multipart/mixed; boundary="je2DpS8Av5EGow2VJOxFgDKkxDWvTemNS"; protected-headers="v1" From: Rich Bowen To: users@httpd.apache.org Message-ID: Subject: Re: [users@httpd] Showing exact filesize in bytes instead of shortform in directory listing References: <1471565592.56318.1475229584217@ox.profihost.com> In-Reply-To: --je2DpS8Av5EGow2VJOxFgDKkxDWvTemNS Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/30/2016 09:55 AM, Christopher Schultz wrote: >> > Background: I want to mirror the directory with lftp, and lftp can >> > not read the given filesize correctly out of the index. So lftp has >> > to make HEAD requests to get the file size for each file. The >> > additional HEAD requests would be not necessary if the index >> > returns the exact file size. >> >=20 > It sounds like this is a good candidate for a web service which > returns exactly the information you need and no more. For example, if > you were to return the list of files and their file sizes as a CSV or > something simpler than an HTML document, you would be able to do it > even more easily. Or use rsync --=20 Rich Bowen - rbowen@rcbowen.com - @rbowen http://apachecon.com/ - @apachecon --je2DpS8Av5EGow2VJOxFgDKkxDWvTemNS-- --aA4UkJIkJGsaX1QsxFUc7hoHA0RtP2poN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJX8ojFAAoJEHhwUUeLEqujDGIP+wQvz0b3oYPsIudaDXPmzKfS QU5CGbqxCWsIBmhObXzeamKc/2mXE8msf13YV32kGk/KpjM5tM+w1QC1j3oAXmVg yfaIchKhFQR2Vsxl7rsz6njJWUkBeF8AzE/iMG+1FO2hJcTeiwotNHwkw77dTbVa kkb5y/wTjJl+A1SSSjlUbooopYKR5RezmL3KEKfZqFV84b/0t7cs32/vQtVwpE1B aPrTQb3GF5yS+iYEy0Icl6qXl+5djRPAkaATqHBVl1wm+JeAa7nhoiwd3RCaySjL PXetuXXt9NTc3ta0YliloeXLyw3efCc/ZEPqsppe3n2WPa0ivXD56IaRmubB+q5R tGvJ3QVHydL/49abkJH2auOk8UMvcGR/xB+S8dMroyd2IREeNqiCXjICP8RUKDvy wCgCzIkbjBHzk08S8fIfhUO1PZk3ftu+e6U1d3M+ySf3u1Syhddf813dk/jD+cyD VLdSqK+MqBpkXGfwU/HyXY5l07oLz0Y2R7gxfpTB0VTLzDBHVyeGAQUn8oX2cMak dzgyUMV+vdUuqewdizyyZo8UwVaKlg1pa5b1RKaZc0pE1MLdCREdEkGtmoqreCaV N43i5wYSJ7D5hE8k2WV2NL3wdBNeKBhkGXrnfvNlTOxXitK+ipEocMaAiyoq6LjC g5r5v2zH3YvuVe0KnfM6 =+/di -----END PGP SIGNATURE----- --aA4UkJIkJGsaX1QsxFUc7hoHA0RtP2poN--