From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id yK9xAkWrsGaecAEAe85BDQ:P1 (envelope-from ) for ; Mon, 05 Aug 2024 10:36:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id yK9xAkWrsGaecAEAe85BDQ (envelope-from ) for ; Mon, 05 Aug 2024 12:36:53 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; none Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EB181214A6 for ; Mon, 5 Aug 2024 12:36:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sav4C-0003hl-UD; Mon, 05 Aug 2024 06:35:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sav4B-0003hc-1v for emacs-orgmode@gnu.org; Mon, 05 Aug 2024 06:35:51 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sav49-0007A4-5e for emacs-orgmode@gnu.org; Mon, 05 Aug 2024 06:35:50 -0400 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2f1870c355cso2804381fa.1 for ; Mon, 05 Aug 2024 03:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722854146; x=1723458946; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=JKe+f8gfmTNAcmV73oawBXkbEKwn700EGEVga44pxmM=; b=iCrLi6dBz2yq4Yten3jiCNbIWVyLo68MjDgo3i8uN1sC4TIOzF7jAGqUZyrESmoSEx JS+frqb4WqIlxXAS3LM8LJ2YEWVhd1Ow7mLCVqP21TvzdMKwlJGHdG3wU5/NDPh7G10s Sy7fuRvlTUEsrHuT2Mvt3VzC/zGebUGWdJpR7AICI4/QUgJlZdOdMWG0o890h5QXR8Jc 2rkDEQrRFsLao/EngF9kHE4ZaWHJK0eZkQMOkUhUWRFDOYyTvYIlNg7K8B5VTlbXwx2t f8S2SOj1ef5nrO4cawu1n3KwrfORPon7Dzlb8Pi/Idhtka/zLuPdlqUxFTR7b3yi/6Hf XQtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722854146; x=1723458946; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JKe+f8gfmTNAcmV73oawBXkbEKwn700EGEVga44pxmM=; b=u7iyuEQc4F78WX3yWTAjuBh/lKL6Xu2ciVNps7DESfs4WSNkvxwLVgd4HVfACef/fL Cr18Ty8MdvtEPgIub/pq8jAqUpwo8cAi4mlNaV2ge4SmbzXYTwiT3v6A0yQeQfRoIAvm V0HqQLG2yVy8kcjPmy7zkUr83x3OoxJYST6jkQEPeao3PiCncEerHrMqgfbayKX0Hs3b Y7P4x5+l8JVi+5ug5TWZjbVdV4KPiKZfSJ08NGBFnhRIst4MUdCtotIBImCOCcjGeKgG kWEiMYEfmQfNAogUrp/Rbi9UAy3FOSyMrmTu2xVvkBeS4Z+L451J1I0Smu9c13srwwAv pfwA== X-Forwarded-Encrypted: i=1; AJvYcCWpTRuOoKxpRSUtZr4B/wzGhAdYkVNlwqDu9mmorArcTVVyiaMRwyCFo90DYBFROZDRVQ+7c3eIJffIiMYCHSnNL3/O8hI= X-Gm-Message-State: AOJu0YzaunNi99LjJ6qQoOuVp4Zs6gIBKCf7p79VA1A3KUbPPKHI5FI1 u2F1ioH4khpwfx1jNPXgizS27KCrNYBNGI5nSnxzmV08TyF7JlGxfRcsUA== X-Google-Smtp-Source: AGHT+IE4V/ks12SzqqbwfPMdCyhm4heeh922Est+KPw4YUlayl5Zkk/+po9m512k77ChG/In8+6TPA== X-Received: by 2002:a2e:9b57:0:b0:2ef:1b1f:4b4f with SMTP id 38308e7fff4ca-2f15ab0bc94mr77010581fa.34.1722854145874; Mon, 05 Aug 2024 03:35:45 -0700 (PDT) Received: from [192.168.0.102] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id 38308e7fff4ca-2f15e2507e0sm10579501fa.80.2024.08.05.03.35.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Aug 2024 03:35:45 -0700 (PDT) Message-ID: <0682dd46-583b-44e6-89a3-1fd1893ff636@gmail.com> Date: Mon, 5 Aug 2024 17:35:44 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Adding text/org MIME type to jshttp/mime-db To: Joseph Turner , emacs-orgmode@gnu.org References: <87wml0f265.fsf@ushin.org> <20dcde53-c4aa-4db6-9143-9e6ea6a62215@gmail.com> <875xsh5wze.fsf@ushin.org> <821aa597-349e-4ded-8c5f-16e80a59965e@gmail.com> <87ikwfoduu.fsf@ushin.org> Content-Language: en-US, ru-RU From: Max Nikulin Mail-Followup-To: Joseph Turner , emacs-orgmode@gnu.org In-Reply-To: <87ikwfoduu.fsf@ushin.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=manikulin@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -4.00 X-Migadu-Queue-Id: EB181214A6 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.00 X-TUID: V2EqLxIPK2HZ On 05/08/2024 10:19, Joseph Turner wrote: > Max Nikulin writes: >> - My impression is that multiple types may have the same suffix, so >> there should be "get all media types for given suffix" method. >> - It should be possible to specify priorities within the same source. [...] > However, on the topic of Org mode support in Agregore, I am not sure > that the ability to specify a different preference or even a "get all > media types for given suffix" function would help. My idea is that this method pushes developers toward more flexible design in respect to specifying priorities of records. With its presence it is more probable that users of the DB will be prepared to cases when 2 step mappings media type -> suffix -> media type and suffix -> media type -> suffix give values that are different from the original ones. > For now, perhaps we can override the MIME type map in the extension: > > https://github.com/AgregoreWeb/extension-agregore-renderer/issues/8#issuecomment-2267958828 I have added a comment. The issue may be Content-Type header sent by server (or other side of p2p connection).