RE: Understanding application/http

Pavlo <real.floordiv@gmail.com> Tue, 26 March 2024 09:21 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=ietf.org@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E1A0FC14F694 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Mar 2024 02:21:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.654
X-Spam-Level:
X-Spam-Status: No, score=-2.654 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, MIME_HTML_ONLY=0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="JWYgYF3k"; dkim=fail (2048-bit key) reason="fail (body has been altered)" header.d=w3.org header.b="qFBdlOcs"; dkim=fail (2048-bit key) reason="fail (body has been altered)" header.d=gmail.com header.b="ePunfCne"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8vMxKN3YTzxi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Mar 2024 02:21:37 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1BDB0C14F68B for <httpbisa-archive-bis2Juki@ietf.org>; Tue, 26 Mar 2024 02:21:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:Content-Type:To:References:Message-ID:In-Reply-To:From:Date: MIME-Version:Cc:Reply-To; bh=ZLMbnbmqQ1+RE9+9v1xhwEkf+Kwhi/nP2PKozckbTf4=; b= JWYgYF3kbbHhqqCW9Ffnz8aY5swceuocAFna6JYAZpH0dhzB7wlR6nUxUH9F0H91INKBnVNKMLa5D e5N9oiYECsCa6zhkNO7kR2OBUjZzX8425OjHuJyBSde2pzb4lzsTmtEZGbA7yELfbccUtEfSFLkR1 cOcflDSukLzNa3gIHkQ6HfUQsurJRvZwzDbquN0c2y0lkTiaAo3zCOlzTzvmGbAl8/+ocTJ+piWkQ wq/Ko0cuYVkfUfnVuzvjSIBYLEaZj5Y/6HS7m68jLB8e4umOFg3LfBglcvqKXb7+k22ZIlLDvs5fl KvPF7AeZHsjZNy3P6cruO3A4irOeGSK/UA==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rp2yP-0018mp-7f for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Mar 2024 09:20:01 +0000
Resent-Date: Tue, 26 Mar 2024 09:20:01 +0000
Resent-Message-Id: <E1rp2yP-0018mp-7f@lyra.w3.org>
Received: from www-data by lyra.w3.org with local (Exim 4.94.2) (envelope-from <real.floordiv@gmail.com>) id 1rp2yM-0018jU-QN for ietf-http-wg@listhub.w3.org; Tue, 26 Mar 2024 09:19:58 +0000
Received: from puck.w3.org ([34.196.82.207]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <real.floordiv@gmail.com>) id 1rolAy-00GcKN-0I for ietf-http-wg@listhub.w3.org; Mon, 25 Mar 2024 14:19:48 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:To:References:Message-ID:In-Reply-To:Subject:From:Date: MIME-Version:Cc:Reply-To; bh=Mjp1BiV3lDhPqBKa3UxCULdDzXZppjOMo+J5FsVFMT0=; t=1711376387; x=1712240387; b=qFBdlOcs/PTOZlKSd3zDyouNvW9A+fG9ZeJ6ZYOLqBKcUEk ZTLd95L6tctL0pmP4fiIade3l7zCtTrIzTnSqz6+8Df1h2I82oEKYsc6lSIw8bmcy3DZOI1MV7An/ 8mFUAtq88GRGCvpgPxM8i4bsJZvmLjjBQbq5Z0zs7ER9s+as4qbQHK35EbYrkgB+zPM6I7yhPzFH9 z+6zIdD7t3rSXLk8UZ03p8f3TqOjXL0vnluZXySaVOs0r3Es5DQL5u+IOSdboKqoKxxUvg7OUD3tR a9r17iLSTUzcObtDN0+NMVmzfDqHNzszmyGzahGIMoAKrDP1abrIYi1X0fUs5N1A==;
Received-SPF: pass (puck.w3.org: domain of gmail.com designates 2a00:1450:4864:20::131 as permitted sender) client-ip=2a00:1450:4864:20::131; envelope-from=real.floordiv@gmail.com; helo=mail-lf1-x131.google.com;
Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by puck.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <real.floordiv@gmail.com>) id 1rolAx-00BfSi-0V for ietf-http-wg@w3.org; Mon, 25 Mar 2024 14:19:47 +0000
Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-515a81928faso1474743e87.1 for <ietf-http-wg@w3.org>; Mon, 25 Mar 2024 07:19:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711376382; x=1711981182; darn=w3.org; h=content-transfer-encoding:to:references:message-id:in-reply-to :thread-topic:subject:from:date:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Mjp1BiV3lDhPqBKa3UxCULdDzXZppjOMo+J5FsVFMT0=; b=ePunfCneXNiQLKoa4vqu0OaOZsUQ6Qo8ewqaVywHyaU3xDzJ0jUHutD1aLpMKErYuk dPr8rC4rWet8itgREdJBgC7/U81D2p0YOK/MfQCB4juBaW5YsL/MBsLLSFj4QO0Hban8 S3YtVWzkRGl+ALs9u8XYd+37YDkVB1CV+bTNkPYGCsrUUcft/ZcSA1HO1XEMZ4oSukd9 wtExOcNbmsCxe/U4OV6g2WtFRV9k4ZWdY+RMTrkQSMj/jT2kIZIBE4SE7S4iUM9ebctg 8kFRoSczUz0ZDpLMPLNYCbMPUFLJXiKHd7j6QhcuvrM2/wcJn2gRpx5XagOFa7N0RBQz Ailg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711376382; x=1711981182; h=content-transfer-encoding:to:references:message-id:in-reply-to :thread-topic:subject:from:date:mime-version:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Mjp1BiV3lDhPqBKa3UxCULdDzXZppjOMo+J5FsVFMT0=; b=Z2oU0vBV+Tc7SqgbsmzFpi8jG716ANVZmpt0tzUB1rHX7jB79qxeZL+JK2UzE6j80q KUnp8LTJlZsmnegczSq7T3qytb0+hXb10fpfjts0VAG5ZvJsGATfxlHb9/KTYop9b5+9 55XfXfJF0jtQLvu+smG7dqPcfm0SuVpd4GeazICh2TDVhpecreRqZaeLJK9McRWm8khb ad6RaGq/HfjXwnL9KpLfIhzYwgjf4lMEqr80Z1bc8u9xXld5NZ6yiUhrKovZZVkjsNF5 4GQjx/DYG4C6+rsk2I/ESj/8IakS76VOHKnhGqj/YkuDb2eERTNlX+vf4QeuMgoaH+PB sLPw==
X-Gm-Message-State: AOJu0YwMMQsq5HXLm/6syfMTjInkV17qyuqvFKVsRwKDsUp4kfHIsg1I UyP0xJ6B7xBEtIy/l1O1GJMUgQQlJwYRz9RqM1HKRkJgEusDea4aG+478N6W
X-Google-Smtp-Source: AGHT+IH+f/+GfxA65P5mOC8KBgbJ8T1RCRHtCCDXdih0OYrnM/ZNOtja8ATb0NWA5lLKM+6OmKejVw==
X-Received: by 2002:a05:6512:32b2:b0:513:4b90:ae9a with SMTP id q18-20020a05651232b200b005134b90ae9amr4769110lfe.67.1711376381686; Mon, 25 Mar 2024 07:19:41 -0700 (PDT)
Received: from DESKTOP-MVQK3C3 ([2a00:1e:9c40:a401:58cb:cc52:a6f0:a803]) by smtp.gmail.com with ESMTPSA id s21-20020a056402037500b0056bdc4a5cd6sm3038407edw.62.2024.03.25.07.19.41 for <ietf-http-wg@w3.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Mar 2024 07:19:41 -0700 (PDT)
MIME-Version: 1.0
Date: Mon, 25 Mar 2024 15:19:38 +0100
From: Pavlo <real.floordiv@gmail.com>
Thread-Topic: RE: Understanding application/http
In-Reply-To: <a4060fba-c82f-4050-b3e1-a4a20b77f07e@treenet.co.nz>
Message-ID: <0D37E4FB-A051-4555-B32F-97D24A4348A9@hxcore.ol>
References: <XN4p0_W6GSjdZDKQR_0wMBYAfdbXM0k20Rxx2965ObN1N6FMlTUGxQUoHnevdjM4jKHkS_B2P99RXu5UlgqYjxnUUk1ZsQg3JBGnhu_7LkQ=@protonmail.com>,<a4060fba-c82f-4050-b3e1-a4a20b77f07e@treenet.co.nz>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="utf-8"
X-W3C-Hub-DKIM-Status: validation passed: (address=real.floordiv@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, DMARC_PASS=-0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: puck.w3.org 1rolAx-00BfSi-0V c6280c7c935db900da8d2ae4134b5300
X-caa-id: 2e93346422
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Understanding application/http
Archived-At: <https://www.w3.org/mid/0D37E4FB-A051-4555-B32F-97D24A4348A9@hxcore.ol>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51911
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/email/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

> > Where is it used?

>

> These days, in protocols which wrap whole HTTP messages to transmit them

> - such as <https://www.rfc-editor.org/rfc/rfc8188.html>.

>

>

> > And are there any examples of its use in the wild?

> >

>

> VPN and CDN systems are the most likely place to find it. Though I

> cannot point at any particular ones.

 

Not only. They are also used in HTTP/1.1 for TRACE responses, as the method’s semantic obliges the server to send the request back as the response’s body, in the same manner as it was received.

 

 

Best regards,

Pavlo

 

 

 

From: Amos Jeffries
Sent: Monday, March 25, 2024 06:25
To: ietf-http-wg@w3.org
Subject: Re: Understanding application/http

 

On 19/03/24 01:41, Rahul Gupta wrote:

> Hi,

>

> This is a question that I have been looking to understand for some time, and I am hoping that since this is IETF week, someone might indulge me!

>

> Where does the media-type `application/http` in RFC9112 come from?

 

FWIW, the media type(s) for HTTP have been around since at least the

beginning of HTTP/1.0. I'm not sure myself where or why they were

created.. Maybe on of the OG will remember.

 

 

> Where is it used?

 

These days, in protocols which wrap whole HTTP messages to transmit them

- such as <https://www.rfc-editor.org/rfc/rfc8188.html>.

 

 

> And are there any examples of its use in the wild?

>

 

VPN and CDN systems are the most likely place to find it. Though I

cannot point at any particular ones.

 

 

HTH

Amos