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=-3.9 required=3.0 tests=AWL,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-qk1-x73e.google.com (mail-qk1-x73e.google.com [IPv6:2607:f8b0:4864:20::73e]) (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 1489A1F462 for ; Thu, 23 May 2019 16:18:44 +0000 (UTC) Received: by mail-qk1-x73e.google.com with SMTP id l16sf5885233qkk.9 for ; Thu, 23 May 2019 09:18:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=lkIO0o40QlXyhpZbDYiDh2DlEbmFhZws2EuGO0T64xI=; b=nS/HSko9o0+zr4udK++d0lOezHVzFYnU/0x8hz+rEkxE9Z95WbGvoSEdvWnOWE45ZN bbB3A6itCeiGPHRLgKI8LDULbyHPgFyqRoWpRmo55TcstVik+rCqwsDv1RsCuWKfDrZ+ JiOwWv8HMqyTF1Rd6BAKa5PuNXOK3pKTkjWN1pi+VxR7h4ayjMmSGq2JssJjuWGvVGJ/ WR+2k0lNU5gbcjVnTpOM05r2szzD+eNxLQ0usjVtfA1VzCcGQ/mkF4Ui2irZOA0Pqr/O EMxYa81zMcRJ5BlGqCmWOEZDjGjHceLBU+eOwW+tDainRfR8Qzmkb4oAVPc6bJjvpzEK 7IQw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=lkIO0o40QlXyhpZbDYiDh2DlEbmFhZws2EuGO0T64xI=; b=VFiiEfpLIBihD8JyYXXEQGxAKRhQRN7lwn6qI3h3w3aKt5Ntu3n1yDIRbLqvXLU7HF qFVybwcYDchuidaNMaOXV9JvfQ8htGsD7riwn7BR3AEIrAmNveSi6HyOMxDhx8/Eg5sg P0HgJ4fslfjECxjwU6Odh4p5xuzHarj3RU62/wQMUVMa5ttLNWTaeTCkM1P/VAuSftKM wrYRkX9IMdm5z7imq5ZUqq2n066g9cAzKCcCfnmfaB3ooL7aueRbLxyKlg64xL3jaHAW 7Kw+0FXuUvy0aIQGSCAfkWERajkMpDdGBh5eZjdk6kGbzhc/1/+9KadiZNAwAsvJxW+i ctkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=lkIO0o40QlXyhpZbDYiDh2DlEbmFhZws2EuGO0T64xI=; b=LeEGH0dPE9rHnV64/19hoIkkVmNMzsMNkx/WQFM9eKvktqFSCcGK/iZloWRHz5NPRL xJy+baA2EKKL7rNEQrj0oRQ1rNeYYI8HfIUJND1dx7TkU49S+LcOv+O0ADUpcRMCLuHR jqNDIxOR0zPkpcK6Snj1d8Q/zFKs+JxzaGvsIK+xJfOFJ6sMBEyhhMZxaxIlLbTGAkTv OrYj/PHdVoKTUwid5W10KssJjV7yHIuFxiy2u17khHytz2vM9AtlD0B9OB0aLQI89B47 4DZmx/2h/8iJLVVAu03w8knIaAQnBsWO9PTE3prhpNw9pJCWrEo8yX8bzaCSaekr2Gy6 itGA== Sender: rack-devel@googlegroups.com X-Gm-Message-State: APjAAAWW1J5U/pyhzGp2ElYmDYC9rrho0RVPQ29oHgRIpzk2bsUIEd6z pge5iTdRPmZnuociqo0uuNQ= X-Google-Smtp-Source: APXvYqyVJXAoaa1H/KXnkmULEfw49EtnP5RWvH5gcxvzkqW6XsqbRPLiqi095/gIMExoSntETKmi8Q== X-Received: by 2002:ac8:23e4:: with SMTP id r33mr16276198qtr.162.1558628323044; Thu, 23 May 2019 09:18:43 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 2002:a37:e106:: with SMTP id c6ls1742016qkm.8.gmail; Thu, 23 May 2019 09:18:42 -0700 (PDT) X-Received: by 2002:a37:810:: with SMTP id 16mr73610079qki.6.1558628322644; Thu, 23 May 2019 09:18:42 -0700 (PDT) Date: Thu, 23 May 2019 09:18:42 -0700 (PDT) From: dorian taylor To: Rack Development Message-Id: <7eb7b470-57d4-44dd-97fa-25bea17cce0f@googlegroups.com> In-Reply-To: References: Subject: Re: disable chunked transfer-encoding MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_599_1697424710.1558628322165" X-Original-Sender: dorian.taylor@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: , ------=_Part_599_1697424710.1558628322165 Content-Type: multipart/alternative; boundary="----=_Part_600_1584599524.1558628322165" ------=_Part_600_1584599524.1558628322165 Content-Type: text/plain; charset="UTF-8" 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: #>>> # -- --- 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. ------=_Part_600_1584599524.1558628322165 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thursday, May 23, 2019 at 9:15:24 AM UTC-7, rag= gi wrote:

Such a response is only valid in http 1.0, no= t http 1.1.

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

Have you consider= ed not including this middleware for these requests?


Do I get a choice in the matter? If I start the s= cript with rackup it seems to add it all by itself:


#<Rack::ContentLength:0x0= 00055d0e32f7f60
=C2=A0
@app= =3D
=C2= =A0
#<R= ack::Chunked:0x000055d0e32f7fb0
=C2=A0 =C2=A0
@app=3D
=C2=A0 =C2=A0
#<Rack::TempfileReaper:0x000055d0e2a07db0
=C2=A0 =C2= =A0 =C2=A0
= @app=3D#<LazyAuth= ::App:0x000055d0e315e910>>>>
#<LazyAuth::App:0x000055d0e315e910>



--

---
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/msgi= d/rack-devel/7eb7b470-57d4-44dd-97fa-25bea17cce0f%40googlegroups.com. For more options, visit http= s://groups.google.com/d/optout.
------=_Part_600_1584599524.1558628322165-- ------=_Part_599_1697424710.1558628322165--