From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x540.google.com (mail-pg1-x540.google.com [IPv6:2607:f8b0:4864:20::540]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 9B5F31F462 for ; Thu, 23 May 2019 16:42:06 +0000 (UTC) Received: by mail-pg1-x540.google.com with SMTP id j26sf2117896pgj.6 for ; Thu, 23 May 2019 09:42:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1558629725; cv=pass; d=google.com; s=arc-20160816; b=SrtzAdKyr1pgCFpuCiSnOTqK1yJyjzb6qgL2O4YeYqtK6R2aDsY/BWLhd/ZMML3Mvw mq+rk6vBKPDf6lacHBXlsHezpkhBaloiP4QZ3DwtRqOt6+W/byBm3SXQh1qjmpB5gw4r 9arIsEFYGYDldHOBU9AYKqjCeRDmLfN6PVQdGmNwG2xFhmQqeUL5ERqBe66NcOebSuN9 J+2tStp5nYz0senqPCK5hiSyNP+D7R7OpFWyt8O2y5zaVS9Xrt2ngwmoIet+PW0BlHGi JvBLcNTeee3z0E5n6ezoS7DeKWgwoht5pgRknVeh4/ok7l/qlANkiVg5MoS1Yc5/eNyB 6kYA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date :from:in-reply-to:references:mime-version:sender:dkim-signature :dkim-signature; bh=qAjnRbFp5gxf13kisbFkLVRLsQSZxJ42rIf0TeMh2ek=; b=hMqDpTUeliIKrF7qHD8zn8ngoG0R0vaNI65TgRvXKCmTuDVpbqurGfOhBVfWZKOepY BK9jHaJ8p/FbIY4OMxWNrXRoS33Abs3KSvJ8bxspRHHE7G7u8lawK01+DIfyPh7ekINI qrTAKP7cGtlR/gMqSNlCEw9foaeVaZeb/aRFVejleUtaRcPxsprPVNEHYKwyKoDFmfcB g8X57MSZDm1j7iBKvfoDiZBjscHUm9He//mnxbQVMmcaSQd0ldCAqc0gURHRhvPCdPJ+ jkO9ZSJVF6ulotaauoqiN4I42fjeGoNJFXaDgpxxFWWQnqjyaaDnXhdHAfHpB2rF8FQU ZE4g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DOCsxRcy; spf=pass (google.com: domain of jftucker@gmail.com designates 2607:f8b0:4864:20::131 as permitted sender) smtp.mailfrom=jftucker@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:references:in-reply-to:from:date:message-id :subject:to:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=qAjnRbFp5gxf13kisbFkLVRLsQSZxJ42rIf0TeMh2ek=; b=Ah2/vlz3t1wdZU4qQn9QJdjXKf7goCrB5bLvrNkrY4W4MjGVU7AUSIo9WQS78C+x+1 wRduVAKovjZ6kHZH+8WJ3v6ZNyQ445hvfyg4v1K6tYAHzCWyjwSMASZVTaJwizMf2X67 tNQfPW3x4ZqF8lY6R98clL9hglkRlzG+oQQflssQ8wWiOesYdjWp26PtmRzfswXuHZit L95kjvc0ufHYywQkOf8nfmJ+Hq807lLzS/R+3Z+1B4JGQRJ2oIeQVYNTKMBkc98w8aAb t6AOIUuST+dQo3g+qru+JQKQeV4D2LDVzd00ynRzuiQJRVWJBho1s/D+T5RB/+nQ92cE Q3tA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=qAjnRbFp5gxf13kisbFkLVRLsQSZxJ42rIf0TeMh2ek=; b=aiCosH/mH/eleImzIfZcbwA+dHhN6oGkmFd7JSf8lvgxK12/CeEmLTu834hoAtIKG/ 3bJXrD9DoBS+2NyzMALUgwiSdR/zQgH07qfy878LNRcjbG1oQXyFh3biA3Qg2I/F309r K8ZiHo/zwCjHhVqmdVl3tsLzAGZLOZ9Duw7pe8OJuMET45mHhfgWeIt9EIv0Ug9Tz2uY UmOcUsWk376oTjzhMJgTA3hK/dtgfJ2Gp43rLLCUTAGyYuXjpdX3E9f5Qgc9VB/j3T7F QWwIy981LT3awLHnUUTMeF5ppqXun21W/7fuQdWVQF/aAVZrg65z6aGX42OyaDDcKh+v D1gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:references:in-reply-to:from :date:message-id:subject:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=qAjnRbFp5gxf13kisbFkLVRLsQSZxJ42rIf0TeMh2ek=; b=WYtmPm23fDpjIuVLX9qjORFEcTH7t8n9/ifuzZQantd6aspDHGBltjOfFXpus3ojuD QIl9y6ow/dgDsymf45gnmiEI7/vyPpwvZJjNPTfMNKrl3v9d+txRDNnH099biz5QcVFw WMPNW2cFywIsHn8+g+a4bgV6GsOuI6ftDGDYn7NFVjuHPbo/VZF5VGzYJUgRwLAKUj9N esw9TLX9FHpFKoFavxQRFeAGq5mUfvFrM6JfZ6LVPBmKD7JAYXKHwFmoENMOa8o3q+tK tBzINXRmuLSo3nwvLXIepV2mCVYMd9yA8TcJ12Cf2c2dOJwbDttxXmhv+M3yJ4t2DM/l Dxjg== Sender: rack-devel@googlegroups.com X-Gm-Message-State: APjAAAXjarZNn+sC1X9ub4+m+IuHr1xLXNRFUZ2Z2BNZcj2gb/6wHyA5 bnckM4/Z/UcaY3TRtSUl0F8= X-Google-Smtp-Source: APXvYqw699HA0Fg4m9hY4L9uMsG7/BArTGsTY3s9x2nXIHQ3Y4Jy2+qF5OA8L041UGzuZyxbQYiznA== X-Received: by 2002:a63:7909:: with SMTP id u9mr93062099pgc.223.1558629725842; Thu, 23 May 2019 09:42:05 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 2002:a17:90a:376d:: with SMTP id u100ls151118pjb.5.gmail; Thu, 23 May 2019 09:42:05 -0700 (PDT) X-Received: by 2002:a17:902:b584:: with SMTP id a4mr63477457pls.333.1558629725414; Thu, 23 May 2019 09:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558629725; cv=none; d=google.com; s=arc-20160816; b=Rjy45B6LKcjhGpSoscEL6SwSj7lpfyuAuiP+oWFhGfHCBsBIbbX/MlXUBXqfmT3nfp qDP+TpOaoL3Fq4FcXBhyvte+284ClIDYAoTCdYS7QoU2LXNPJbrBKuYTmnqFI0/X5cip JOSwJ+KnAiSgg3XWbcfuImKab7ipaS29m6Ods/MD4MPellnOpHf04XcP4xOwuP6Le9EC un/FnJ0juajVxFZYx+G1mWsN/VXcb0kxh99GckyCxQY3g0xm8SzliSZ3UHQfLYXxx5qX XBgjOwHpcik+Rw6GPYlJTIJBIN9hWzgrKbgwbT8gQmWyC7eFrht+/8tfayPWn7n1mW/w rSEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=dWMx+c39HcTaT+Q8RpKDwFm2lqt6ag5NnfCgf6EzqEE=; b=La07ekr7x+0vxwN4DSscLolq0cB3nZzdgzJhHff6Qbt38kpRLix+JQl/eE0L39uYfa o2855OQl3hsosyGbZMrf6PYiD8k8rbjxLPQj7d+fad7bresB02urwVRi1WnaP2axiPFN JkxyNEdVPwiemM/FP9ovAzG4zcbzefbxS8HH76Xvi1P36XwVWRzpK46d6GhcoX5vt7IV sAkLf/qdnQPZ/8VVy/H7F+B6sCX8n1z9nnhXECTb6P5qi/OVtsNw1f9o865XRn28bcMT fyKRd27tZ2S0QFF1yCzinfbFn5vLJRaZKqA/tzEy32IqdcmZhn+nRijupOcevLYGUt13 Fv3w== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DOCsxRcy; spf=pass (google.com: domain of jftucker@gmail.com designates 2607:f8b0:4864:20::131 as permitted sender) smtp.mailfrom=jftucker@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-it1-x131.google.com (mail-it1-x131.google.com. [2607:f8b0:4864:20::131]) by gmr-mx.google.com with ESMTPS id q130si687703pgq.2.2019.05.23.09.42.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 May 2019 09:42:05 -0700 (PDT) Received-SPF: pass (google.com: domain of jftucker@gmail.com designates 2607:f8b0:4864:20::131 as permitted sender) client-ip=2607:f8b0:4864:20::131; Received: by mail-it1-x131.google.com with SMTP id h20so10830942itk.4 for ; Thu, 23 May 2019 09:42:05 -0700 (PDT) X-Received: by 2002:a24:2955:: with SMTP id p82mr13385457itp.154.1558629724291; Thu, 23 May 2019 09:42:04 -0700 (PDT) MIME-Version: 1.0 References: <7eb7b470-57d4-44dd-97fa-25bea17cce0f@googlegroups.com> In-Reply-To: <7eb7b470-57d4-44dd-97fa-25bea17cce0f@googlegroups.com> From: James Tucker Date: Thu, 23 May 2019 09:41:52 -0700 Message-ID: Subject: Re: disable chunked transfer-encoding To: Rack Development Content-Type: multipart/alternative; boundary="0000000000000d8a67058990c39a" X-Original-Sender: jftucker@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DOCsxRcy; spf=pass (google.com: domain of jftucker@gmail.com designates 2607:f8b0:4864:20::131 as permitted sender) smtp.mailfrom=jftucker@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: X-Google-Group-Id: 486215384060 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , --0000000000000d8a67058990c39a Content-Type: text/plain; charset="UTF-8" On Thu, May 23, 2019, 9:18 AM dorian taylor wrote: > > > On Thursday, May 23, 2019 at 9:15:24 AM UTC-7, raggi wrote: >> >> >> Such a response is only valid in http 1.0, not http 1.1. >> >> In this regard rack won't help you much, as it isn't trying to provide >> for that case. >> >> Have you considered not including this middleware for these requests? >> >> > Do I get a choice in the matter? If I start the script with rackup it > seems to add it all by itself: > > > # @app= > # @app= > # @app=#>>> > # > > > rackup is an opinionated tool that is good for 90% of use cases and adds those middleware to meet that goal. I would say the behavior you need falls out of that use case set, and you should consider writing your fastcgi spawner using the library primitives. > -- > > --- > You received this message because you are subscribed to the Google Groups > "Rack Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rack-devel+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rack-devel/7eb7b470-57d4-44dd-97fa-25bea17cce0f%40googlegroups.com > > . > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "Rack Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to rack-devel+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rack-devel/CABGa_T_d1Z6FaJhewsbP2P6rbtKdAXE_nZFEUfStBYT4DQib4Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --0000000000000d8a67058990c39a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, May 23, 2019, 9:18 AM dorian taylor <dorian.taylor@gmail.com> wrote:=


On Thursd= ay, May 23, 2019 at 9:15:24 AM UTC-7, raggi wrote:

Such a re= sponse is only valid in http 1.0, not http 1.1.

=
In this regard rack won't help you much, as it = isn't trying to provide for that case.

Have you considered not including this middleware for th= ese requests?


Do I get a ch= oice in the matter? If I start the script with rackup it seems to add it al= l by itself:


= #<Rack::ContentLength:0x000055d0e32f7f60
=C2=A0
@a= pp=3D
=C2=A0
#<Rack::Chunked:0x000055d0= e32f7fb0
=C2=A0 =C2=A0
@app=3D=C2=A0 =C2=A0 #<Rack::TempfileReaper:0x000055d0e2a07db0
=C2=A0 =C2=A0 =C2=A0
@app=3D#<Laz= yAuth::App:0x000055d0e315e910>>>>
#<L= azyAuth::App:0x000055d0e315e910>



rackup is an opinionated tool that is good = for 90% of use cases and adds those middleware to meet that goal.

I would say the behavior you need= falls out of that use case set, and you should consider writing your fastc= gi spawner using the library primitives.

<= div dir=3D"auto">


--

---
You received this message because you are subscribed to the Google Groups &= quot;Rack Development" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to rack-devel+unsubscribe@googlegroups.com.=
To view this discussion on the web visit https://groups.google.com/d/msgid/rack-devel/7eb7b470-57d4-44dd-97= fa-25bea17cce0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups &= quot;Rack Development" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to rack-dev= el+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.goog= le.com/d/msgid/rack-devel/CABGa_T_d1Z6FaJhewsbP2P6rbtKdAXE_nZFEUfStBYT4DQib= 4Q%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--0000000000000d8a67058990c39a--