From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26729 invoked from network); 4 May 2021 17:31:17 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 4 May 2021 17:31:17 -0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by 1ess; Tue May 4 13:22:20 -0400 2021 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id C257F168C for <9front@9front.org>; Tue, 4 May 2021 13:22:16 -0400 (EDT) Received: from imap21 ([10.202.2.71]) by compute2.internal (MEProxy); Tue, 04 May 2021 13:22:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=biobuf.link; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm2; bh=V+0wOTU8XrkO240vhSc3JKlDI90cQGq BYYKSLcbXFZI=; b=iYR8gmiUfwmafUSKd0or9XO/HCto7v6Ano9fmH0wHaHvI+Y poThfqnJ7PYXJ/DjckJNqMgUFP3ndbc10JUpqg29G2gEwg6RABNobvhLHQfSzswH tAU0gKigMDw6J1pSQPNLrCKsUcP9CS6TTlQkZVVJFv89M0qA8pJwUAkb6jOGcfer UpeYiBBEFoLFnlYgJqidxZqV0cHuo/Tipdeq1VBSeFjUmmQAs0Bp/tS0LMQ2XDC7 NoGpb5HDDxJ7ZiJowzDjOGqg6fVq/aUTVy4UmscblcCYYnX0DI/j4176RH3qlMl2 XRo7Jo2MyJtJ9QuG93btSR9/plc88gK18Yjo3Sg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=V+0wOT U8XrkO240vhSc3JKlDI90cQGqBYYKSLcbXFZI=; b=Sg0g5TgpXdUa80L4rUbkue bgVMNH1Eo1wjlUGU+M2H2o+H3+5eM1OKwwdY0IvqkzJ4DASjfByNuCA44jTGZnU/ Q1WQWGSDh8oUN6OHEbQgCmUk1rmacQPcAoA2EYY+pT7hADNQvs9KQAISL9z+q9aU sOloP5Z5D0hMZ03JV/pKCann0H4HQ+dwY/onEqgcmZBWuATYuvPHzC/SvHXpOkV7 GYqgmAfEPy/3sKuoDbdBEnx9gUPx9yHJ3s1Ujx9LbOXg7WPigwzKyJC3FnpXNYS8 b1R9uUvIEIrVM1tdqG30pIE19jYRM6tY4STPYpC9Dfd3WqME1rTAgarfglZCExTQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdefiedguddufecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculddujedmnecujfgurhepofgfggfkjghffffhvffutgesthdtredt reertdenucfhrhhomhepfdhjrghmvghsuchprghlmhgvrhdfuceojhgrmhgvshessghioh gsuhhfrdhlihhnkheqnecuggftrfgrthhtvghrnhepiefhjeekfeelhffflefhieffudff hfefueeijedvudeluddvheelgffhiefgvdelnecuffhomhgrihhnpehophgvnhgsshgurd horhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep jhgrmhgvshessghiohgsuhhfrdhlihhnkh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id C764351C0060; Tue, 4 May 2021 13:22:15 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-442-g5daca166b9-fm-20210428.001-g5daca166 Mime-Version: 1.0 Message-Id: <30dc3be4-96c4-4def-8e85-b61783f7cf67@www.fastmail.com> In-Reply-To: <22BCC91412030C7C4A375D43D29A57BF@qak> References: <22BCC91412030C7C4A375D43D29A57BF@qak> Date: Tue, 04 May 2021 18:21:55 +0100 From: "james palmer" To: "9front mailing list" <9front@9front.org> Content-Type: text/plain List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: structured extensible software-oriented map/reduce software self-signing database Subject: Re: [9front] file(1) another partial revert of 8419 Reply-To: 9front@9front.org Precedence: bulk Quoth kvik@a-b.xyz: > > Currently files like https://www.openbsd.org/anoncvs.html > > are not rendered in mothra(1): > > That page sets content-type, so why does mothra file(1) it? > > I'd prefer to have file(1) try a bit harder to detect actual HTML > rather than reverting to an equally dumb classification. a quick grep through mothra's source shows it only uses file(1). the filetype function needs to know about the content-type header but at the moment it just gets the fd and a buffer to put the mime type in. - james