rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
From: Jeremy Kemper <jeremy@bitsweat.net>
To: rack-devel@googlegroups.com
Subject: Re: Rack::ETag joins forces with Rack::ConditionalGet
Date: Thu, 4 Mar 2010 12:48:55 -0800	[thread overview]
Message-ID: <69a2885c1003041248m332c0cc2o6d6cb68ace3c0757@mail.gmail.com> (raw)
In-Reply-To: <69a2885c1003041246h5bc0ce3av8f5a304a7a119178@mail.gmail.com>

On Thu, Mar 4, 2010 at 12:46 PM, Jeremy Kemper <jeremy@bitsweat.net> wrote:
> Rack::ETag sets the ETag response header if it's missing, but doesn't
> check If-None-Match.
>
> Rack::ConditionalGet checks If-None-Match, but doesn't set ETag
> response header if missing.
>
> It's conceivable but rare to use them in isolation, and their separate
> leads to error-prone middleware stacks.
>
> Rack::ETag should be deprecated and folded in to ConditionalGet:
>
> 4c782ba76a88803500d726af718784584cf215cc

That is,
http://github.com/jeremy/rack/commit/4c782ba76a88803500d726af718784584cf215cc

jeremy

      reply	other threads:[~2010-03-04 20:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-04 20:46 Rack::ETag joins forces with Rack::ConditionalGet Jeremy Kemper
2010-03-04 20:48 ` Jeremy Kemper [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=69a2885c1003041248m332c0cc2o6d6cb68ace3c0757@mail.gmail.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).