RFC 9205 - Building Protocols with HTTP
Eric J Bowman <mellowmutt@zoho.com> Tue, 16 January 2024 05:03 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 C1354C14F69D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 Jan 2024 21:03:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.755
X-Spam-Level:
X-Spam-Status: No, score=-2.755 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H5=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 (1024-bit key) header.d=zoho.com
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 8KI05cep6sPI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 Jan 2024 21:03:50 -0800 (PST)
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 9F2DAC14F6A0 for <httpbisa-archive-bis2Juki@ietf.org>; Mon, 15 Jan 2024 21:03:50 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rPba5-003r9K-HB for ietf-http-wg-dist@listhub.w3.org; Tue, 16 Jan 2024 05:01:45 +0000
Resent-Date: Tue, 16 Jan 2024 05:01:45 +0000
Resent-Message-Id: <E1rPba5-003r9K-HB@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <mellowmutt@zoho.com>) id 1rPba1-003r8J-In for ietf-http-wg@listhub.w3.org; Tue, 16 Jan 2024 05:01:41 +0000
Received: from sender4-pp-o90.zoho.com ([136.143.188.90]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <mellowmutt@zoho.com>) id 1rPbZz-005OD4-AV for ietf-http-wg@w3.org; Tue, 16 Jan 2024 05:01:41 +0000
ARC-Seal: i=1; a=rsa-sha256; t=1705381290; cv=none; d=zohomail.com; s=zohoarc; b=WxWHo1tLLXQSmaUwKEqw+UHPLiw5u9tN2kB6ApbGXSMwt6azhPxVLISjHQ2B5oDNJKUyn4Nvcem08sy87nu0U84ziSVPpxEverd7Zd/ZYIWPkXmeLB0pLoMI5i17di5Bbt86ISye91cyAwWhG8IRNu/fDi/w/mB2zRo5R5H6hJk=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1705381290; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=U1OUaDsaDsVWbbq93iIU2Z9omORYsJan9rBQJ2qpdyE=; b=IuNaUTuw9Veap819qUUouJSRdzZCSyIKJFy9wxAejk2AS6USCXp+vjAU/F7zpcxqUftOEJgFJMbg25V43UUDqjWac+aY9aapKMa/ewzB80Uo598LofW4eYnUFC/CpxvUoDR3yq3JcuQLAPaui+MOMGnrPOrg0ajQN+cuvnjGW/0=
ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=mellowmutt@zoho.com; dmarc=pass header.from=<mellowmutt@zoho.com>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1705381290; s=zm2022; d=zoho.com; i=mellowmutt@zoho.com; h=Date:Date:From:From:To:To:Message-Id:Message-Id:In-Reply-To:Subject:Subject:MIME-Version:Content-Type:Feedback-ID:Reply-To:Cc; bh=U1OUaDsaDsVWbbq93iIU2Z9omORYsJan9rBQJ2qpdyE=; b=Y0nrI+S8CElZUjejGOvuBZwE5fGAg9YqDS6eoNyzAmyAhbpw8w07pjNEuZc+Bs0q a0ilVsQFRNI+5AQ17giaRES8NQ7UxNYYolsemYrhFnvTckFpa+IoK/q5URBqwnoFN2j cl+SzRY9m2yCHCaoATRNUzsOULuM3fDGCZqMtjx0=
Received: from mail.zoho.com by mx.zohomail.com with SMTP id 170538128968022.824380743254437; Mon, 15 Jan 2024 21:01:29 -0800 (PST)
Received: from [65.117.211.248] by mail.zoho.com with HTTP;Mon, 15 Jan 2024 21:01:29 -0800 (PST)
Date: Mon, 15 Jan 2024 21:01:29 -0800
From: Eric J Bowman <mellowmutt@zoho.com>
To: Ietf Http Wg <ietf-http-wg@w3.org>
Message-Id: <18d10a55ec3.f9f4497962867.8435735395234285775@zoho.com>
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_162497_573346856.1705381289667"
Importance: Medium
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
Feedback-ID: rr080112286a48a24d04a8bb33775bb1640000597973b370aa51071250e82aadbda50a19ac17defd3d7ce2a59b:zu08011227c2e91068c350f72ce20c60290000d57ebe8de9641af1f011c53ec2d9ff822559db581a88a51ac7:rf08011232c2ad50dc0b1c378638c7217500000a6dbe1d6dfcbc71e82551b936f89f8eda8697dac530487e5c2479ed5f206bcee7e10c3a:ZohoMail
Received-SPF: pass client-ip=136.143.188.90; envelope-from=mellowmutt@zoho.com; helo=sender4-pp-o90.zoho.com
X-W3C-Hub-DKIM-Status: validation passed: (address=mellowmutt@zoho.com domain=zoho.com), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mellowmutt@zoho.com domain=mellowmutt@zoho.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1rPbZz-005OD4-AV 59895a305af04e935d78f2774673cd8b
X-Original-To: ietf-http-wg@w3.org
Subject: RFC 9205 - Building Protocols with HTTP
Archived-At: <https://www.w3.org/mid/18d10a55ec3.f9f4497962867.8435735395234285775@zoho.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51717
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>
OK, I have two use cases. CANBUS has no publicly-available HTTP interface. MODBUS has a "REST API" that's (sorry) really an anti-pattern of REST (not to mention, proprietary). I'll worry about CANBUS later. My aquarium hobby has me using a cheap seven-way sensor from China in my "dirted" tank; I only need six data points (soil moisture is always 100% lol), but it speaks MODBUS over two wires. The "IIOT" (first I = Industrial) makes MODBUS unavoidable. Crying out for an API/Protocol (or whatnot) so I can monitor my fishtank from a browser or app, instead of a proprietary PLC with pushbuttons requiring physical access. Like a Hanna Instruments "GroLine" pH/EDC/TDS/temp monitor -- I'm just using the probe (nine total data points). Resurrected my last laptop for the DB9 RS-232 port, so I can use RS-422/485. USB requires a chipped dongle, and at this point, "the less stack the better". Hanna's probe uses an 8-pin DIN connector, the Chinese sensor has bare wires, but they're both 12VDC. Multimeter shows signal wires at 3.3VDC. For those who don't remember or never knew, your UART chips gotta run at the same voltage. Old lappy does 3.3 or 5VDC on RS-232, 5V on USB. Took me some hemming and hawing about "how does this work" before I whipped out the multimeter and measured signal-wire voltage. Issue #1, poll the sensors, or treat their output as streams? If anyone is interested in helping me flesh out a RESTful MODBUS HTTP API/Protocol off-list, the "side purpose" would be fleshing out RFC 9205, and we'll bring that back to the list. Apply it to an open CANBUS HTTP API/Protocol, lather-rinse-repeat fleshing out 9205 for IIOT. -Eric
- RFC 9205 - Building Protocols with HTTP Eric J Bowman
- Re: RFC 9205 - Building Protocols with HTTP Eric J Bowman