From: Gaius <james.a.rosen@gmail.com>
To: Rack Development <rack-devel@googlegroups.com>
Subject: Re: rack-contrib: add Rack::ContentLength
Date: Sat, 6 Feb 2010 06:22:40 -0800 (PST) [thread overview]
Message-ID: <2c8527a4-bb1e-4c25-93db-8a7e11701137@g28g2000yqh.googlegroups.com> (raw)
In-Reply-To: <104b9b201002052104r964168kf879ecf0c2763ff4@mail.gmail.com>
I _knew_ it was somewhere. I have no idea how I overlooked it.
Thanks :)
On Feb 6, 12:04 am, Martin <martin.aum...@gmail.com> wrote:
> Rack::ContentLength exists in core.http://github.com/rack/rack/blob/master/lib/rack/content_length.rb
>
> On Fri, Feb 5, 2010 at 8:13 PM, Gaius <james.a.ro...@gmail.com> wrote:
> > I added a Rack::ContentLength middleware that automatically sets the
> > "Content-Length" header for responses that (a) lack such a header and
> > (b) have String bodies. The relevant commits are here:
>
> >http://github.com/jamesarosen/rack-contrib/commit/77d708727682a25329d...
> > and here:
> >http://github.com/jamesarosen/rack-contrib/commit/40775deb36a792096cb...
>
> > As best I could tell, this functionality does not exist elsewhere. If
> > it does, please let me know.
>
>
prev parent reply other threads:[~2010-02-06 14:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-06 1:13 rack-contrib: add Rack::ContentLength Gaius
2010-02-06 5:04 ` Martin
2010-02-06 14:22 ` Gaius [this message]
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=2c8527a4-bb1e-4c25-93db-8a7e11701137@g28g2000yqh.googlegroups.com \
--to=rack-devel@googlegroups.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).