From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: [GNU ELPA] Proposed new package url-scgi.el Date: Thu, 22 Sep 2022 15:23:19 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14423"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 22 21:38:16 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obS1W-0003YE-WC for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Sep 2022 21:38:15 +0200 Original-Received: from localhost ([::1]:45330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obS1W-0003bq-0P for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Sep 2022 15:38:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obRnA-0003zX-BM for emacs-devel@gnu.org; Thu, 22 Sep 2022 15:23:24 -0400 Original-Received: from mail-oi1-x22e.google.com ([2607:f8b0:4864:20::22e]:45805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obRn7-0007pt-TL for emacs-devel@gnu.org; Thu, 22 Sep 2022 15:23:23 -0400 Original-Received: by mail-oi1-x22e.google.com with SMTP id o64so13608334oib.12 for ; Thu, 22 Sep 2022 12:23:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date; bh=j1BfXpS+KiZhg8huPne4xYqJarcGklkrsOnPxyDsNO0=; b=j/jkGo01CSCKoXUGwNN2U1zLca8bkS0gSV55nJYLtUggjPCSqn+E2bzupyPJUpLIA7 mtAZtL9Fhg4AScnC0vSOJG6A03gTXIoSPipwbumYMXtGX1PG/WXKBB9ikmD7mwF0A00a odfGK6/I61C+yRLeC8HzY6HN+vUyda80sYuwL1PFZcWSvsCdHb5sANmG0iXyCzRUlScc b4zGy5GJN41P+ouv2VAlFiIplTDe1P0eQ6JeFM6IICshIpOg9sUQ6R6eCCvjMoaB8jZZ CZQFvvlH8pYKWVeopw8TIMzYzi4CxZiHQcdXs6uyTWao9cKJ9VOyTdrTmz0xCAbJvFM1 ihJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date; bh=j1BfXpS+KiZhg8huPne4xYqJarcGklkrsOnPxyDsNO0=; b=loE1VMRujuMcJsBhd2diPVgK3RsF3hdINbQTS81fXNbo/fy/YkUpxysXfXYilWcWXI DVT0Q5WyQi5QtXZOqkwhTKcrF8GR065Zcvv7S0WmM2BV0L4FLkNYe8XITxLi7XDG8nNb yrt0Y8y5r2NPPDh+790YKitSO6xjjIew3JQ9CBsvT14bQei0oC1seQ019Nidh0TF3RVg K9vqsCQ2EjipGleDJiaV5EWgxgph2VellN9dCYZCBVLsfabic9hobGJLejmf0k2eibZu hywZyl54Y/tN4msy6VCEge36NM2EUKHCf4gRvJM2k2YRx+rG+26tw13VUGry5jNs+ur/ NmCA== X-Gm-Message-State: ACrzQf1zrmfLgVlD36nlXJHzKST72LA6DPrqxMVsxLFxnQ8QmmE0BqDA kmhF5CZYK9DHN8IwxlI7kqqfO7MJAeGgxx+MmzI= X-Google-Smtp-Source: AMsMyM6aSaVzizRzjvXHyHu94GrOKI1NP5vp2ksKALLS/d+Rf+3msv14WmQR9ARlJhFWBia5A9kJS1pBBfmImKwLDI8= X-Received: by 2002:a05:6808:1688:b0:345:ea9a:2954 with SMTP id bb8-20020a056808168800b00345ea9a2954mr7203763oib.199.1663874600351; Thu, 22 Sep 2022 12:23:20 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 22 Sep 2022 15:23:19 -0400 In-Reply-To: X-Hashcash: 1:20:220922:emacs-devel@gnu.org::13FtJpimhw4qknkJ:3yhH Received-SPF: pass client-ip=2607:f8b0:4864:20::22e; envelope-from=stefankangas@gmail.com; helo=mail-oi1-x22e.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-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:296007 Archived-At: Stefan Monnier writes: >> https://github.com/skangas/url-scgi > > This points to a "specification", but that spec is a bit vague (and > with some errors) and is not anything like an RFC, so I'm wondering how > wiedly it's used. Can you point to actual implementations of SCGI > clients or SCGI servers to better understand the applicability? AFAIK, Apache has mod_proxy_scgi[1], and lighttpd has mod_scgi[2] built-in, and Wikipedia tells me that there is also support in nginx, Cherokee, and MS-IIS.[3] I don't know why only the specification exists, and not a proper RFC. My guess is that it is a combination of SCGI not having enough traction (with a preference for more fully featured protocols like FastCGI and WAI) and that it is very lightweight (so cooperation has been easy). There are, again according to Wikipedia, bindings for a number of languages, so I would expect there to be more than a handful SCGI clients out there. Unfortunately, I had a hard time finding lists of software that use it. But I remember that SCGI has been championed within and more popular in the Python community. The Python "scgi" module sees frequent updates (the latest in December 2021), and they helpfully provide a list of packages that use it (note: "Dependent repositories: 27" and "Used by"): https://libraries.io/pypi/scgi In conclusion, SCGI is not highly popular. You could maybe even say it is somewhat obscure. However, those of us using software that only support SCGI are, for better or for worse, stuck with it. Footnotes: [1] https://httpd.apache.org/docs/2.4/mod/mod_proxy_scgi.html [2] https://redmine.lighttpd.net/projects/1/wiki/Docs_ModSCGI [3] https://en.wikipedia.org/wiki/Simple_Common_Gateway_Interface