From: James Tucker <firstname.lastname@example.org> To: Rack Development <email@example.com> Subject: Re: disable chunked transfer-encoding Date: Thu, 23 May 2019 09:41:52 -0700 [thread overview] Message-ID: <CABGa_T_d1Z6FaJhewsbP2P6rbtKdAXE_nZFEUfStBYT4DQib4Q@mail.gmail.com> (raw) In-Reply-To: <firstname.lastname@example.org> [-- Attachment #1: Type: text/plain, Size: 2054 bytes --] On Thu, May 23, 2019, 9:18 AM dorian taylor <email@example.com> 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: > > > #<Rack::ContentLength:0x000055d0e32f7f60 > @app= > #<Rack::Chunked:0x000055d0e32f7fb0 > @app= > #<Rack::TempfileReaper:0x000055d0e2a07db0 > @app=#<LazyAuth::App:0x000055d0e315e910>>>> > #<LazyAuth::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 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 firstname.lastname@example.org. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rack-devel/7eb7b470-57d4-44dd-97fa-25bea17cce0f%40googlegroups.com > <https://groups.google.com/d/msgid/rack-devel/7eb7b470-57d4-44dd-97fa-25bea17cce0f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 email@example.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. [-- Attachment #2: Type: text/html, Size: 5568 bytes --]
next prev parent reply other threads:[~2019-05-23 16:42 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-05-23 15:19 dorian taylor 2019-05-23 16:14 ` dorian taylor 2019-05-23 16:15 ` James Tucker 2019-05-23 16:18 ` dorian taylor 2019-05-23 16:41 ` James Tucker [this message] 2019-05-23 16:44 ` James Tucker 2019-05-23 16:54 ` dorian taylor
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-list from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://groups.google.com/group/rack-devel * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=CABGa_T_d1Z6FaJhewsbP2P6rbtKdAXE_nZFEUfStBYT4DQib4Q@mail.gmail.com \ --firstname.lastname@example.org \ --subject='Re: disable chunked transfer-encoding' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://80x24.org/mirrors/rack.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).