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-pf1-x440.google.com (mail-pf1-x440.google.com [IPv6:2607:f8b0:4864:20::440]) (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 D0C0E1F462 for ; Thu, 23 May 2019 16:44:36 +0000 (UTC) Received: by mail-pf1-x440.google.com with SMTP id i8sf4541664pfo.21 for ; Thu, 23 May 2019 09:44:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1558629876; cv=pass; d=google.com; s=arc-20160816; b=eRAtbPGSGsZIjVRiyu8NV2tNPpyulh+J1XYuEMIgzymMWU7Pas+Ggyn6F/RQ+xO6az A/Voa5Z929gE53Y5yVczcuFPXNookvWjYGr3JZJoj2M2yX/Oqc+RdYUbpGzRfu9lxdzr D3D5ADiREcAWbwC99J5pAIc68C4NldOFm6ws+PoPHrsVyW27vkqa8VOETvMy1S0K/7LG wPPsPxgmIitOfqgkEcrGdoIO1nmj0evrbZZ3OfGjZueynEwhxUkSqgu+5O46NNe0Zkf1 yTlVGBzDvyxG+5XUwjt5goTXlBtTvv9kI/+gPx0IcFA4qdJqV6eJtoiQ5RR3jqt3C1jy Fluw== 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=qLUmerAiKwVGRe+BwZCoiSAuJp3HCDsJcgZ/hgYH0Vs=; b=j7h7f19NUQ9WCXBPWRX1IVOP4urrdt1vTlUVXo1D1oOLppZMl4SQ5e3trsUq77R8Xo jUra/KvyvjLwbEHPHaJpfsDQ35OZdb312XAnLH+bK9Q351O+gD6UHU8lb8OZ+KaPabgS BI7QOVCX9z6dT84FeWcNcG2wWFucvePeKtjCj5UM//kQTKUsT8REoduY3Om8Uh9qe4lr Ga17j52IZzrojm6RaxX73F/ksBlAllgFuScIEiwHi3eWI5OHVZdkTvSLqefFf1Y0T5n2 Az9RT0NszpxJC/Ff7BaWEO9LvMtPD8Ol81UztZZwq2kstS2siAkTarhCQdamrX7i1yrm /ZTw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MgpF7fez; spf=pass (google.com: domain of jftucker@gmail.com designates 2607:f8b0:4864:20::d2b 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=qLUmerAiKwVGRe+BwZCoiSAuJp3HCDsJcgZ/hgYH0Vs=; b=nvVH19cpss0IyjW1kp4wHnWyRCi2FiyNFDo8slyJgFl6o2BrrZVVUMxu6+EZn9eAs7 Sv8+dD1RSNx2eWf8JU9/GK4YNkj6iouF57MR6+I6zMx9/qglC37J5/cwN8mgPU7bXF0i WurOGqtakHrkACFlPyFTUBisnLC7EWRK/IV8/88tMrMcRoncIzQe8i9FKq1LxcgURnII umHNwnvco/L5FTVkn/NOsu0iprNyIWDMqwkwgEW12YYcczmP2e8zpmXu5sYV0OO6/nsZ NFLKZwEkqOe7m037PJh4yFec5R9Du8WW5G+BLv5K1hgNcXPJRfy11w5cKmtOSM7Cmytc mb6w== 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=qLUmerAiKwVGRe+BwZCoiSAuJp3HCDsJcgZ/hgYH0Vs=; b=KlRRbAT+z0/0tiIl7mbmo9RavSx422GJc3A7HeyS9d6S7OYppcu49NtrCde6I62maU BE5LNSjl70k5OHKDal0SCW9msazdDOFDCzHWjLMww6YfkRI7rpA/IAhIOk1IxkygMTqa uTSN8+kTOaqU+na0w5CA6GZZCHGhz948mVePThbRxyitHFOorzTj9Lwz+w/mZ9C0eJwd WI2VlMu/scBJi0u6HO3+GDI1ch0WG8+Itm3yVyj4/+Fb7nVRLpa9yU3FCLPTeK6IGmCA i3BWdAC930BXxK+bQ/LLZCCyUB4fwVOzGCps9xcj1wOVYFEsi1oF7hOTWRFKyM8kzgQG 8yeg== 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=qLUmerAiKwVGRe+BwZCoiSAuJp3HCDsJcgZ/hgYH0Vs=; b=HiQUkmTlU3URkq16jOtXfZ95OwSIHKUmXO52dEP1n7CyZ5aop/DMQgQ0YI3S4OJu3w qkCfjLbHETTQhf85uEIOWQMrZ+cTOPkhQ/RhZMLJR3P2ksaRKRWWP7xlmZbaDdmdid8X D/LMS+CSCI0cRNzH4GYPmp17rPbNkK+KCrsqbnn0ub+9k+oDQecgtDh+4TKOhwIaDHWt OygsJwu3xUuj2dO9D74aX598i0MsDqBoCWtv30sT1AMcYv9AuzjDwqCSOcyjW6O5spW6 ygjzAk0kpdVxnuB/F/aZK3lsz4bolFUAJzgnJMEzYi0pFXl4JREbGaUEdfkN/dW7NFsP iInA== Sender: rack-devel@googlegroups.com X-Gm-Message-State: APjAAAWkn0Xd/QV7bYvNS1lN2xzda5JbP+81jHh5REnNdiQg/G1xisGx y20f+IO9QEhUtW/ZTMNSUOU= X-Google-Smtp-Source: APXvYqzDrNCYX4lHXPVO9GPSnm1Qa37uyn+I3+UPIzjFuTpuMuWKOoriBUlM5BtBcAfZIxmP6IaSNA== X-Received: by 2002:a17:902:4283:: with SMTP id h3mr77240525pld.214.1558629876128; Thu, 23 May 2019 09:44:36 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 2002:a65:4c86:: with SMTP id m6ls303185pgt.11.gmail; Thu, 23 May 2019 09:44:35 -0700 (PDT) X-Received: by 2002:aa7:9289:: with SMTP id j9mr18228319pfa.251.1558629875667; Thu, 23 May 2019 09:44:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558629875; cv=none; d=google.com; s=arc-20160816; b=HobWPCcwFbEnh72SJiRR4iqX2ttqDxZj2jG1ivJmECBbxjBSKea/9nlqZGD5CWWi5u 7m6v5WQz/tVL8GgvF+71mQ6sgvcnYAZYQn0pM9tjM+3VCVjPnf/4djuNSOoK3gO7ej2V zcuhkHsxg1NzUfoLgiC97z8fJn1pKW/VMF0cbG5rvx09iAAjezgZsq+1BG2yl+ncux/w oTq1Ytshc441qAjl8dbwDHRGI6U/Lq4ShSSHxzj77W0CrmyjFUm6sahy/6kXVdBuftVW A+5o4c9HdiS+tmbQ37/wVLuDrDnh+ROgYJ5rgcZZfzkG4b1e9vuzCHrPE7qpLD1O1IDz h4gw== 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=r6MEa1jdBpMhjRw0m0+xJYG0QcAigKwAuXHLeLhuqEo=; b=0iFmgEb2F7RvfYJ/gzIxh3MgXnIiXBADleyaWsrkMr16ILQB7WvlsHgdE/uyn1qUYx lAyrYNZ6UfuIbvXoIxim5XTPXfWeoeqVDEhl0XjuecsEQyEbrb3+qaYZzSgvwvUc0he0 v3iD3Q2q/YX9CxyWLKwbL/Wc/69dxm4gvDxBRyoXe1H3N32kJKGwKIiRdBJG+aMgMyTG W4L8IDk5mqq2UIYMBJ7c0Gx0bzkIbwelO1A2ceSdWqlmFRA6FQWkKjsbtmzomqCV8nYO ivIn4XrUrIThH0fJZjYYsxR4UKvaC/+FyZQ4txReQHIdy7tgqMYkW893/nYXrpE/nnCs eX5g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MgpF7fez; spf=pass (google.com: domain of jftucker@gmail.com designates 2607:f8b0:4864:20::d2b as permitted sender) smtp.mailfrom=jftucker@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com. [2607:f8b0:4864:20::d2b]) by gmr-mx.google.com with ESMTPS id r32si14759pjb.0.2019.05.23.09.44.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 May 2019 09:44:35 -0700 (PDT) Received-SPF: pass (google.com: domain of jftucker@gmail.com designates 2607:f8b0:4864:20::d2b as permitted sender) client-ip=2607:f8b0:4864:20::d2b; Received: by mail-io1-xd2b.google.com with SMTP id e19so5409831iob.3 for ; Thu, 23 May 2019 09:44:35 -0700 (PDT) X-Received: by 2002:a5d:958d:: with SMTP id a13mr34807787ioo.288.1558629874692; Thu, 23 May 2019 09:44:34 -0700 (PDT) MIME-Version: 1.0 References: <7eb7b470-57d4-44dd-97fa-25bea17cce0f@googlegroups.com> In-Reply-To: From: James Tucker Date: Thu, 23 May 2019 09:44:23 -0700 Message-ID: Subject: Re: disable chunked transfer-encoding To: Rack Development Content-Type: multipart/alternative; boundary="0000000000000476a2058990cc31" 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=MgpF7fez; spf=pass (google.com: domain of jftucker@gmail.com designates 2607:f8b0:4864:20::d2b 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: , --0000000000000476a2058990cc31 Content-Type: text/plain; charset="UTF-8" On Thu, May 23, 2019, 9:41 AM James Tucker wrote: > > > 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. > It's been a long while, but I think if you pass the "none" environment these middleware will be elided. > > > >> -- >> >> --- >> 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_T82sGWikWx5H5oWS7%2BwxnFAU0%3Daiqczw9oFExmNEXuhaQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --0000000000000476a2058990cc31 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, May 23, 2019, 9:41 AM James Tucker <jftucker@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">


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


On Thursday, Ma= y 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= 9;t trying to provide for that case.

Have you considered not including this middleware for these re= quests?


Do I get a choice i= n the matter? If I start the script with rackup it seems to add it all by i= tself:


= #<Rack::ContentLength:0x000055d0e32f7f60<= span style=3D"color:#000" class=3D"m_8281761803651053676m_-3513168758919745= 639styled-by-prettify">
=C2=A0@app= =3D
=C2=A0 #<Rack::Chunked:0x000055d0e32f7fb0
=C2=A0 =C2=A0
@app=3D
=C2=A0 =C2= =A0
#<Rack::TempfileReaper:0x000055d0e2a0= 7db0
=C2=A0 =C2=A0 =C2=A0
@app=3D#<LazyAuth::App:0x000055d0e315e910>>>>
#<LazyAuth::App:0x0= 00055d0e315e910>


<= /div>

rackup is an opini= onated 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 co= nsider writing your fastcgi spawner using the library primitives.


It's been a long = while, but I think if you pass the "none" environment these middl= eware will be elided.

<= 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-5= 7d4-44dd-97fa-25bea17cce0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/op= tout.

--

---
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.= google.com/d/msgid/rack-devel/CABGa_T82sGWikWx5H5oWS7%2BwxnFAU0%3Daiqczw9oF= ExmNEXuhaQ%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--0000000000000476a2058990cc31--