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=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,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-qt1-x83c.google.com (mail-qt1-x83c.google.com [IPv6:2607:f8b0:4864:20::83c]) (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 2A2831F462 for ; Thu, 23 May 2019 16:16:15 +0000 (UTC) Received: by mail-qt1-x83c.google.com with SMTP id h4sf5810647qtq.3 for ; Thu, 23 May 2019 09:16:15 -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=ePYSj+IN2+dr02/blvko0iwbNjJSkGmhUUX5QA0HVAM=; b=NE2Er1bEmmKIc1et/0Cp1+CZ4MOZYl4nSFA2YSJfBS1y6MmszNsxfCJ/Y/Bfv/iTaP eLkUUjhiESuAl7JNdJaT7WybLSBrMsJLbVsM3dCQybGIxHUlt74MRy0GDbsDWbE7oeF5 XgcDm9W1JrDDssp6juwkd4AN2XDH33EjrW33oJQGkkEMPPeP9EiCcF2FFq6kwLDaWw1l HXUazEAKRcvTVrF33quD04eyuT4pAzyLW3yR42bHBrcxjI1XyTeiP4TRMfsFsj3kaWcC SGCjoi8eHlbHj0sinebMEWjSKX/8/O/lIEV015/yVbwVEilijhZa9QjpJtpEG27e7W/+ NpAw== 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:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=ePYSj+IN2+dr02/blvko0iwbNjJSkGmhUUX5QA0HVAM=; b=fXhdf25bgWVGR5gvZ5+/Ibb6aANw64SW1ANU8fVBpLOjaegN0+KHIBaaNINxeVdePU GLYyaSUiirvamzcWynHv8QHiguITnsUnI71aHurzPPXrO1X7Rtkqk0hFQom0Pnb8q7P7 rkNreMOrVgevcpd0vje7LwZX/a/FT8tuVXnSahHUBTMTDqyqFFXvUFSlS/Bep26SC2N2 IC0aG8d9K/8pTtC/+kzNa8tiTLz9nXwwCER0/HLqrGhH4cdiWgrTmH/x1ZwnSiquTs2B w5ExTKVc0zUJAnJNUL9IcX5zfdia5M06tQdIBbkSUk9B6ddWTPuGrN+4WaRgBEn7znho mtqQ== Sender: rack-devel@googlegroups.com X-Gm-Message-State: APjAAAXsjMzIawJTudjuk4UfCD2/4UUXz/7JXmqXu0Ta86HU9b53CDcd upR+yU4tNBS3qoF3Jwz/al8= X-Google-Smtp-Source: APXvYqwkRva6qWar1H5iU9rHnT7DXVSLnNCFTzgWWWj2IFkuPCqrPJHAeWVCQ1CCOumSnZ3RvAu6mA== X-Received: by 2002:a05:620a:140b:: with SMTP id d11mr62650811qkj.212.1558628174359; Thu, 23 May 2019 09:16:14 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 2002:a37:4945:: with SMTP id w66ls1384198qka.16.gmail; Thu, 23 May 2019 09:16:14 -0700 (PDT) X-Received: by 2002:a37:358:: with SMTP id 85mr73573332qkd.174.1558628174169; Thu, 23 May 2019 09:16:14 -0700 (PDT) Received: by 2002:a05:620a:1382:0:0:0:0 with SMTP id k2msqki; Thu, 23 May 2019 09:14:12 -0700 (PDT) X-Received: by 2002:ac8:17eb:: with SMTP id r40mr67444514qtk.140.1558628051775; Thu, 23 May 2019 09:14:11 -0700 (PDT) Date: Thu, 23 May 2019 09:14:11 -0700 (PDT) From: dorian taylor To: Rack Development Message-Id: <3a971889-03c3-44b3-aade-d5cbe219e4e0@googlegroups.com> In-Reply-To: References: Subject: Re: disable chunked transfer-encoding MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_565_1650232434.1558628051638" 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_565_1650232434.1558628051638 Content-Type: multipart/alternative; boundary="----=_Part_566_1985127188.1558628051638" ------=_Part_566_1985127188.1558628051638 Content-Type: text/plain; charset="UTF-8" Never mind, looks like after rummaging through handler/fastcgi.rb, the answer is to set a Content-Length header to the empty string. This tricks Rack::Chunked which only tests for the presence of the header, not its content. I'm a bit apprehensive about this solution but for now it works. -- --- 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/3a971889-03c3-44b3-aade-d5cbe219e4e0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_566_1985127188.1558628051638 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Never mind, looks like after rummaging through handler/fas= tcgi.rb, the answer is to set a Content-Length header to the empty string. = This tricks Rack::Chunked which only tests for the presence of the header, = not its content. I'm a bit apprehensive about this solution but for now= it works.

--

---
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/3a971889-03c3-44b3-aade-d5cbe219e4e0%40googlegroups.com. For more options, visit http= s://groups.google.com/d/optout.
------=_Part_566_1985127188.1558628051638-- ------=_Part_565_1650232434.1558628051638--